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/sh | |
GPUDRIVER=nvidia | |
#if [ ! -x /sys/bus/usb/devices/${BUS}-${DEVICE}/power/level ]; then | |
# exit 0 | |
#fi | |
case "$1" in | |
suspend|suspend_hybrid|hibernate) |
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
[Unit] | |
Description=Local system resume actions | |
After=suspend.target network.target | |
[Service] | |
Type=simple | |
ExecStart=-/etc/pm/sleep.d/66nvidia resume | |
[Install] | |
WantedBy=suspend.target |
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
scp godin040@phi05.cselabs.umn.edu:/export/scratch/CSCI5161/PA3/parser /home/bernardo/projects |
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
running: 343 | |
[] | |
['0(1/10)', '0(1/10)', '1(3/10)', '1(3/10)', 'NOP', '2(5/25)', '3(7/25)', '3(7/25)', '4(9/35)', '4(9/35)', '0(11/20)', '0(11/20)', '1(13/20)', '1(13/20)', '5(15/35)', '5(15/35)', '6(17/70)', '6(17/70)', '7(19/70)', '7(19/70)', '0(21/30)', '0(21/30)', '1(23/30)', '1(23/30)', 'NOP', '2(25/45)', '3(27/45)', '3(27/45)', 'NOP', 'NOP', '0(31/40)', '0(31/40)', '1(33/40)', '1(33/40)', 'NOP', 'NOP', 'NOP', 'NOP', 'NOP', 'NOP', '0(41/50)', '0(41/50)', '1(43/50)', '1(43/50)', 'NOP', '2(45/65)', '3(47/65)', '3(47/65)', '4(49/75)', '4(49/75)', '0(51/60)', '0(51/60)', '1(53/60)', '1(53/60)', '5(55/75)', '5(55/75)', 'NOP', 'NOP', 'NOP', 'NOP', '0(61/70)', '0(61/70)', '1(63/70)', '1(63/70)', 'NOP', '2(65/85)', '3(67/85)', '3(67/85)', 'NOP', 'NOP', '0(71/80)', '0(71/80)', '1(73/80)', '1(73/80)', 'NOP', 'NOP', 'NOP', 'NOP', 'NOP', 'NOP', '0(81/90)', '0(81/90)', '1(83/90)', '1(83/90)', 'NOP', '2(85/105)', '3(87/105)', '3(87/105)', '4(89/115)', '4(89/115)', '0(91/100)', '0(91/100)', '1(93/100)', '1(93/100)', '5(9 |
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
LD_PRELOAD="libpthread.so.0 libGL.so.1" GL_THREADED_OPTIMIZATIONS=1 ionice -c 2 -n 0 primusrun %command% |
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
yaourt clutter-git |
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
xdg-mime default nautilus.desktop inode/directory | |
no sudo |
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
cmake -D CMAKE_BUILD_TYPE=RELEASE \ | |
-D CMAKE_INSTALL_PREFIX=/usr/local \ | |
-D INSTALL_C_EXAMPLES=ON \ | |
-D INSTALL_PYTHON_EXAMPLES=ON \ | |
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \ | |
-D BUILD_EXAMPLES=ON -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. |
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
for D in $(find train/ -mindepth 1 -maxdepth 1 -type d) ; do | |
b=$(basename $D) | |
echo $D $b; | |
for Di in $(find $D/ -mindepth 1 -maxdepth 1 -type f | head -n 3) ; do | |
bi=$(basename $Di) | |
echo file: $Di $bi; | |
mkdir test/$b | |
mv $Di test/$b/$bi | |
done |
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
var GenerateQueue = function( queueNumber ) | |
{ | |
console.log( 'Queue #' + ++queueNumber ); | |
jQuery.post( 'http://store.steampowered.com/explore/generatenewdiscoveryqueue', { sessionid: g_sessionID, queuetype: 0 } ).done( function( data ) | |
{ | |
var requests = []; | |
for( var i = 0; i < data.queue.length; i++ ) | |
{ |