Search Results

Search: Posts Made By: complex.invoke
Forum: Programming 05-07-2019
2,394
Posted By complex.invoke
Monster : Advanced C++ Template MetaProgramming Framework
GitHub - deepgrace/monster: Advanced Template MetaProgramming in Modern C++ (https://github.com/deepgrace/monster)

If you like Boost.Hana, you'll like Monster, maybe.
Forum: What is on Your Mind? 04-23-2019
2,136
Posted By complex.invoke
GitHub - MSWorkers/support.996.ICU: Microsoft and...
GitHub - MSWorkers/support.996.ICU: Microsoft and GitHub Workers Support 996.ICU (https://github.com/msworkers/support.996.ICU)
Forum: What is on Your Mind? 04-16-2019
2,136
Posted By complex.invoke
Under this so terrible environment in China, the...
Under this so terrible environment in China, the Chinese developers contributed too much to these companies, but they got unfair payments, they have no time to advance
their technologies.
These...
Forum: What is on Your Mind? 04-04-2019
2,136
Posted By complex.invoke
Please consider adding an Anti 996 License
Please consider adding an Anti 996 License to jointly oppose overtime work around the world.

A "996" work schedule refers to an unofficial work schedule (9a.m. ~ 9p.m., 6 days a week) that has...
147,356
Posted By complex.invoke
@Neo It will need more time to maintain the...
@Neo
It will need more time to maintain the multiple copies of same source code.
147,356
Posted By complex.invoke
I newly added a Go implementation, just have a...
I newly added a Go implementation, just have a try, my friends!
Forum: Programming 02-20-2013
6,569
Posted By complex.invoke
Tetris Game in C++
Open Source Project: https://github.com/yongye/cpp
Ported from the shell: Shell (https://www.unix.com/shell-programming-scripting/174525-tetris-game-based-shell-script-new-algorithm.html)
1,782
Posted By complex.invoke
awk '!a[$1]++' infile
awk '!a[$1]++' infile
4,772
Posted By complex.invoke
echo 'a123a456a789' | sed 's/a[^a]*a/a/'
echo 'a123a456a789' | sed 's/a[^a]*a/a/'
1,520
Posted By complex.invoke
paste -d File1 File2 File3
paste -d File1 File2 File3
3,099
Posted By complex.invoke
sed 's!\([^,]*\),\([^ ]*\).*KR\([^...
sed 's!\([^,]*\),\([^ ]*\).*KR\([^ ]*\).*KR\(.*\)!\1:\2,KR\3,KR\4!g' infile
2,266
Posted By complex.invoke
awk '{print $0 ~ /DDL/ && p==1 || $0 ~ /CMF/ &&...
awk '{print $0 ~ /DDL/ && p==1 || $0 ~ /CMF/ && p==2?s"\n"$0:$0;p=0}{p=$0 ~ /CMF/?1:2}' s="=====" infile
1,034
Posted By complex.invoke
rename 5025 5026 Temp600*.cpp
rename 5025 5026 Temp600*.cpp
3,067
Posted By complex.invoke
or sed sed -n '/QUIT/d;:i;/^[0-9]/s!...
or sed

sed -n '/QUIT/d;:i;/^[0-9]/s! .*!!g;/[0-9]$/s!.* !!g;/Bye/!{H;n;bi};s!Bye.*!!g;x;s!\n! !g;s!^ !!g;p' infile
64,908
Posted By complex.invoke
or through a pipe echo "n p 1 w"...
or through a pipe

echo "n
p
1


w" | fdisk /dev/sdb
2,266
Posted By complex.invoke
sed 's!\([^ ]*\) \{1,\}\([^_]*\)\([^ ]*\)...
sed 's!\([^ ]*\) \{1,\}\([^_]*\)\([^ ]*\) \{1,\}\([^ ]*\).*!\1 \2 \4!g' infile
1,706
Posted By complex.invoke
or Gnu sed/awk [root@node3 ~]# cat get_date ...
or Gnu sed/awk

[root@node3 ~]# cat get_date
sed -r 's!(....)(..)(..)(..)(..)(..)!echo -n "& ";date -d "\1-\2\-\3 \4:\5:\6" +%s!eg' ${1} | \
awk 'NR!=1{printf("%s %s %02d:%02d:%02d",...
5,713
Posted By complex.invoke
echo {0..9}.{0..9} 10.0 | sed '1s!0.0 0.1!0.1!;s!...
echo {0..9}.{0..9} 10.0 | sed '1s!0.0 0.1!0.1!;s! !\n!g;N'
18,648
Posted By complex.invoke
or sed sed 's!\([^ \t]*\)[ \t]\{1,\}\([^...
or sed

sed 's!\([^ \t]*\)[ \t]\{1,\}\([^ \t]*\)[ \t]\{1,\}\(.*\)!\1\n\2\n\3!g' file
3,075
Posted By complex.invoke
you frogot the ;; after the line * ) echo...
you frogot the ;; after the line

* ) echo "You chose $distro, now booting OS"
1,530
Posted By complex.invoke
sed 's!/rakesh/!rakesh!g' sample.txt or ...
sed 's!/rakesh/!rakesh!g' sample.txt

or

sed '/rakesh/s!/!!g' sample.txt
995
Posted By complex.invoke
sed...
sed 's!\(.\{5\}\)\(.\{4\}\)\(.\)\(.\{4\}\)\(.\{2\}\)\(.\)\(.*\)!\1|\2|\3|\4|\5|\6!g' infile
2,186
Posted By complex.invoke
awk '{gsub(/\/[^/]*$/,"")}1' infile
awk '{gsub(/\/[^/]*$/,"")}1' infile
1,711
Posted By complex.invoke
xargs -n 11 < file | sed 's:\(^.\|\.00\)\( \|$\):...
xargs -n 11 < file | sed 's:\(^.\|\.00\)\( \|$\): :g' | awk '{gsub(/^ /,"");for(i=5;i<NF;i+=2)$i=RS$1FS$2FS$i}1'
7,308
Posted By complex.invoke
[root@node3 ~]# cat /etc/redhat-release CentOS...
[root@node3 ~]# cat /etc/redhat-release
CentOS release 6.3 (Final)
[root@node3 ~]# bash --version | grep -release
GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
[root@node3 ~]#...
Showing results 1 to 25 of 239

 
All times are GMT -4. The time now is 04:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy