This file contains hidden or 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
// stack_trace.c | |
// | |
// gcc stack_trace.c -ldw -lunwind -g -o stack_trace | |
#define UNW_LOCAL_ONLY | |
#include <elfutils/libdwfl.h> | |
#include <libunwind.h> | |
#include<signal.h> |
This file contains hidden or 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
Archive: Test.jar | |
Length Date Time Name | |
--------- ---------- ----- ---- | |
136 2013-01-25 19:57 META-INF/MANIFEST.MF | |
5338 2013-01-25 19:57 ro/sv/base/JarGenerator.class | |
3000 2013-01-25 19:57 ro/sv/base/Title.png | |
1042 2013-01-25 19:57 ro/sv/base/JarGenerator$1.class | |
5221 2013-01-25 19:57 ro/sv/base/Monkey.class | |
756 2013-01-25 19:57 ro/sv/base/Helper.class | |
1064 2013-01-25 19:57 ro/sv/base/JarGenerator$2.class |
This file contains hidden or 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 main | |
import ( | |
"github.com/go-gl/gl" | |
"github.com/go-gl/glfw" | |
"github.com/go-gl/glh" | |
"log" | |
"runtime" | |
) |
This file contains hidden or 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
gnome-terminal --tab -e "optirun yarpserver" \ | |
--tab -e "sh -c 'sleep 6 ; optirun iCub_SIM'" \ | |
--tab -e "sh -c 'sleep 66 ; optirun simCartesianControl'" \ | |
--tab -e "sh -c 'sleep 96 ; optirun iKinCartesianSolver --context simCartesianControl/conf --part left_arm'" |
This file contains hidden or 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
// #cgo darwin LDFLAGS: -framework OpenGL -lGLEW | |
// #cgo windows LDFLAGS: -lglew32 -lopengl32 | |
// #cgo linux LDFLAGS: -lGLEW -lGL | |
// | |
// #include <stdlib.h> | |
// | |
// #include <GL/glew.h> | |
// | |
// #undef GLEW_GET_FUN | |
// #ifdef _WIN32 |
This file contains hidden or 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
import java.util.Scanner; | |
public class Main { | |
public static void main(String args[]) { | |
try (final Scanner in = new Scanner(System.in)) { | |
// wczytywanie: | |
This file contains hidden or 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
import javax.print.attribute.HashPrintRequestAttributeSet; | |
import javax.print.attribute.PrintRequestAttributeSet; | |
import javax.print.attribute.Size2DSyntax; | |
import javax.print.attribute.standard.MediaSize; | |
public class Main { | |
public static void main(String[] args) { | |
PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet(); | |
aset.add(new MediaSize(60,80,Size2DSyntax.MM)); |
This file contains hidden or 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
<html> | |
<head> | |
<script src=http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js></script> | |
<script src=https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js></script> | |
<script> | |
var api_key = "e4f035ebb7d9352b6f57cf5ab242e38d"; |
This file contains hidden or 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
import java.io.BufferedInputStream; | |
import java.io.BufferedReader; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.EOFException; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.FileReader; | |
import java.io.PrintStream; | |
import java.io.RandomAccessFile; |
This file contains hidden or 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
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Iterator; | |
import java.util.LinkedList; | |
import java.util.StringTokenizer; | |
public class Split { | |
private static String string = "a/b/c/d/e/f/g/h/i/j/asd/asdas/dasdjasodjoa/sjd/oajs/djoasjd/as/odj/jaowdj/oajw/odj/aojwd/oja/owjd/oja/wjdoja/wdj/awjdojaw/odj/oawjd/oja/wjdoawjdojaw/d/dff"; |