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
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| my $cmd = $ARGV[0]; | |
| if (scalar(@ARGV) < 2 or ($cmd ne "c" and $cmd ne "i" and $cmd ne "r")) { | |
| print "Usage: lddcollect [cir] [binary/tgz/dir] [extra]\n\n"; | |
| print "Lddcollect is a small tool which packs up and installs binaries, libraries and related files.\n"; |
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
| class Bla { | |
| class A { | |
| A() { | |
| c(); | |
| } | |
| void c() { | |
| System.out.println("in A.c"); | |
| } |
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
| #!/usr/bin/perl | |
| $file = $ARGV[0]; | |
| $skip = $ARGV[1]; | |
| $prefix = $ARGV[2]; | |
| if (!$file or not -f $file) { | |
| print "Usage: ./csv2deviceids.pl filename.csv [skip first n lines] [prefix]\n"; | |
| exit; | |
| } |
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
| Romeo, a young man with a remarkable patience. | |
| Juliet, a likewise young woman of remarkable grace. | |
| Ophelia, a remarkable woman much in dispute with Hamlet. | |
| Hamlet, the flatterer of Andersen Insulting A/S. | |
| Act I: Hamlet's insults and flattery. | |
| Scene I: The insulting of Romeo. | |
| [Enter Hamlet and Romeo] | |
| Hamlet: | |
| You lying stupid fatherless big smelly half-witted coward! You are as |
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
| maximum inquementum tum biguttam egresso scribe. | |
| meo maximo vestibulo perlegamentum da. | |
| da duo tum maximum conscribementa meis listis. | |
| dum listis decapitamentum damentum nexto | |
| fac sic | |
| nextum tum novumversum scribe egresso. | |
| lista sic hoc recidementum nextum cis vannementa da listis. | |
| cis. |
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
| Function UpdateAd() | |
| If Not gameScreen.adsOn Return | |
| If _MouseClick() And _MouseIn(New Vector2D(0, SCREEN_HEIGHT-80), New Vector2D(SCREEN_WIDTH, 80)) | |
| LaunchNativeBrowser(ADLINK, ADLINK) | |
| End | |
| End | |
| Function RenderAd() | |
| If Not gameScreen.adsOn Return | |
| SetColor 0,0,0 |
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
| #!/bin/sh | |
| cd /home/openwrt/openmsx-openmsx | |
| export STAGING_DIR=/home/openwrt/src/zipit/openwrt-zipit/staging_dir | |
| export CXX=/home/openwrt/src/zipit/openwrt-zipit/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-linux-uclibcgnueabi-g++ | |
| make clean | |
| rm -fR derived/* | |
| make staticbindist OPENMSX_TARGET_CPU=arm CXX=$CXX OPENMSX_FLAVOUR=zipit LINK_MODE=3RD_STA_MIN |
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
| export PATH=/mnt/mmcblk0p1/usr/bin:/mnt/mmcblk0p1/bin:$PATH | |
| export LD_LIBRARY_PATH=/mnt/mmcblk0p1/usr/lib |
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
| config 'mount' | |
| option 'target' '/mnt/mmcblk0p1' | |
| option 'device' '/dev/mmcblk0p1' | |
| option 'fstype' 'ext2' | |
| option 'options' 'ro' | |
| option 'enabled' '1' | |
| option 'enabled_fsck' '0' |
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
| #!/usr/bin/perl | |
| $d = $ARGV[0]; | |
| while(glob("$d/*.ipk")) { | |
| chomp; | |
| `tar xf $_`; | |
| `tar pxzf data.tar.gz`; | |
| } |