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 -o $fbase -melf_i386 $fbase.o /usr/lib32/crt?.o -l:/usr/lib32/libc.a | |
/usr/lib32/libc.a(vfprintf.o): In function `vfprintf': | |
(.text+0x147c): undefined reference to `_Unwind_Resume' | |
/usr/lib32/libc.a(vfprintf.o):(.eh_frame+0x1fb): undefined reference to `__gcc_personality_v0' | |
/usr/lib32/libc.a(syslog.o): In function `__vsyslog_chk': | |
(.text+0x798): undefined reference to `_Unwind_Resume' | |
/usr/lib32/libc.a(syslog.o): In function `__vsyslog_chk': | |
(.text+0x7aa): undefined reference to `_Unwind_Resume' | |
/usr/lib32/libc.a(syslog.o): In function `openlog': | |
(.text+0x8a9): undefined reference to `_Unwind_Resume' |
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
[khaki02 CLInfo]$ ./CLInfo | |
Number of platforms: 1 | |
Platform Profile: FULL_PROFILE | |
Platform Version: OpenCL 1.1 CUDA 4.2.1 | |
Platform Name: NVIDIA CUDA | |
Platform Vendor: NVIDIA Corporation | |
Platform Extensions: cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll | |
Platform Name: NVIDIA CUDA |
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
object camps { | |
import scala.collection.mutable.Queue | |
import scala.math.Ordering.Implicits._ //do porównywania tupli, można też napisać własną funkcję | |
//zakładam, że na początku mamy wybór do którego z pierwszych trzech kampów zawitać i że musimy trafić do ostatniego | |
def getBestRoute( camps: List[Int]): Tuple2[Int, List[Int]] = { | |
if(camps.length == 0) { //jak nie ma żadnych campingów | |
(0, List()) |
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
/opt/cuda-5.0.35/lib64: | |
/opt/XLE/lib: | |
/lib: | |
/lib64: | |
/usr/lib: | |
/usr/lib64: | |
jk292749@students:/lib$ find /usr/lib64 -iname "*boost*" 2>/dev/null | |
/usr/lib64/libboost_date_time.so | |
/usr/lib64/libboost_filesystem.so |
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
nietaki@xebab:~/OwlNest/Builds/Linux$ make | |
Linking OwlNest | |
../../Libraries/libusbx/libusb-1.0.so: error adding symbols: File in wrong format | |
collect2: error: ld returned 1 exit status | |
make: *** [build/OwlNest] Error 1 | |
nietaki@xebab:~/OwlNest/Builds/Linux$ make clean | |
Cleaning OwlNest | |
nietaki@xebab:~/OwlNest/Builds/Linux$ make | |
Compiling ApplicationSettingsWindow.cpp | |
Compiling DualPatchPanel.cpp |
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
nietaki@zombie:~/minecraft_server/forge_automatic$ java -Xmx1500M -Xms1500M -jar forge-1.7.2-10.12.0.1024-universal.jar nogui | |
[22:38:31] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker | |
[22:38:31] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker | |
[22:38:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker | |
[22:38:31] [main/INFO] [FML]: Forge Mod Loader version 7.2.116.1024 for Minecraft 1.7.2 loading | |
[22:38:31] [main/INFO] [FML]: Java is OpenJDK Client VM, version 1.7.0_25, running on Linux:i386:3.11.0-12-generic, installed at /usr/lib/jvm/java-7-openjdk-i386/jre | |
[22:38:31] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker | |
[22:38:31] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker | |
[22:38:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods |
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
screen -S "somename" -d -m | |
screen -r "somename" -X stuff $'ls\n' |
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
/** | |
* Created by nietaki on 21.05.14. | |
*/ | |
import scala.util.Properties | |
object Runner { | |
def main(args: Array[String]): Unit = { | |
Properties.envOrNone("EDITOR").map(v => println(s"editor set to $v")) | |
} | |
} |
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
# findall sth /home/nietaki znajduje wszystkie pliki zawierające słowo sth w katalogu (i podkatalogach) /home/nietaki | |
function findall() { /bin/grep -H -I "$@" -R | cut -d: -f1 | uniq | sort;} |
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
#AppStore: Install XCode | |
#install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
brew update | |
curl https://gist.githubusercontent.com/pyetras/4b59e1902cfaf9af3c98/raw/Caskfile > Caskfile | |
curl https://gist.githubusercontent.com/pyetras/4b59e1902cfaf9af3c98/raw/Brewfile > Brewfile |