This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ "`cat /sys/kernel/mm/ksm/run`" -ne 1 && `ps aux | grep "\[ksmd\]" | awk '{print $11}'` == [ksmd] ]] ; then | |
echo 'KSM is not enabled. Run echo 1 > /sys/kernel/mm/ksm/run' to enable it. | |
exit 1 | |
fi | |
echo Shared memory is $((`cat /sys/kernel/mm/ksm/pages_shared`*`getconf PAGE_SIZE`/1024/1024)) MB | |
echo Saved memory is $((`cat /sys/kernel/mm/ksm/pages_sharing`*`getconf PAGE_SIZE`/1024/1024)) MB | |
if ! `type bc &>/dev/null` ; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) mpv Doctor.Who.2005.S09E11.Heaven.Sent.1080p.WEB-DL.DD5.1.H.264-CtrlHD.mkv -no-audio -ss 3093.1251 -end 3096.885 -o wallpaper.mp4 -profile enc-f-mp4 | |
2) mkdir images ; cd images | |
3) vaievem.sh ../wallpaper.mp4 | |
4) https://play.google.com/store/apps/details?id=com.ccpcreations.android.VLW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
images=0 | |
rm -f *.jpg | |
avconv -i ${1} -qscale:v 1 -vcodec mjpeg -qmin 1 -qmax 1 %09d.jpg | |
for i in $(ls | grep .jpg); do | |
let images=images+1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PACKAGE_NAME="ixgbe" | |
PACKAGE_VERSION="4.3.13" | |
CLEAN="cd src/; make clean" | |
MAKE="cd src/; make BUILD_KERNEL=\${kernelver} noisy" | |
PATCH[0]=4.5.0_Rename_NETIF_F_ALL_CSUM_to_NETIF_F_CSUM_MASK_a188222b6ed29404ac2d4232d35d1fe0e77af370.diff | |
# For now, dont work, this patch must be applied to >4.5.0 kernel only | |
#PATCH_MATCH[0]="^(?:4)\.(?:[5-9]|[1-9][0-9])\.(?:[0-9]|[1-9][0-9])(?:.+|$)" | |
BUILT_MODULE_LOCATION[0]="src/" | |
BUILT_MODULE_NAME[0]="ixgbe" | |
DEST_MODULE_LOCATION[0]="/updates" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ixgbe-4.3.13/src/ixgbe_main.c.orig 2016-03-17 16:08:15.760575400 -0300 | |
+++ ixgbe-4.3.13/src/ixgbe_main.c 2016-03-17 16:08:50.887574276 -0300 | |
@@ -9574,7 +9574,7 @@ | |
if (unlikely(skb_inner_mac_header(skb) - skb_transport_header(skb) > | |
IXGBE_MAX_TUNNEL_HDR_LEN)) | |
- return features & ~NETIF_F_ALL_CSUM; | |
+ return features & ~NETIF_F_CSUM_MASK; | |
return features; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:beep frequency=329 length=1.2s; | |
:delay 1.3s; | |
:beep frequency=369 length=600ms; | |
:delay 600ms; | |
:beep frequency=392 length=600ms; | |
:delay 600ms; | |
:beep frequency=369 length=600ms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -puNrb openwrt/target/linux/mr-mips/base-files/etc/hotplug2-init.rules openwrt-new/target/linux/mr-mips/base-files/etc/hotplug2-init.rules | |
--- openwrt/target/linux/mr-mips/base-files/etc/hotplug2-init.rules 1970-01-01 01:00:00.000000000 +0100 | |
+++ openwrt-new/target/linux/mr-mips/base-files/etc/hotplug2-init.rules 2014-01-09 14:06:32.000000000 +0000 | |
@@ -0,0 +1,8 @@ | |
+$include /etc/hotplug2-common.rules | |
+ | |
+DEVICENAME ~~ (hvc) { | |
+ nothrottle | |
+ makedev /dev/%DEVICENAME% 0666 | |
+ next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PPC RunAbove: | |
============= | |
No -mcpu=power8, Ubuntu, GIT at 5fd5453e594ee6cadf4a3c502bc53d28cfe5aa8b | |
--------------- | |
leleobhz@cj-bench:~/ovelha/Stockfish/src$ make -j8 build ARCH=ppc-64 | |
make ARCH=ppc-64 COMP=gcc config-sanity | |
make[1]: Entering directory '/home/leleobhz/ovelha/Stockfish/src' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /etc/NetworkManager/dnsmasq.d/00_popcorn.conf.orig 1969-12-31 21:00:00.000000000 -0300 | |
+++ /etc/NetworkManager/dnsmasq.d/00_popcorn.conf 2014-10-12 09:09:51.741520058 -0300 | |
@@ -0,0 +1 @@ | |
+host-record=app.time4popcorn.eu,141.101.113.16,190.93.240.16,141.101.123.16,190.93.241.16,190.93.242.16 |
NewerOlder