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.*; | |
public class main{ | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
String result = ""; | |
while(input.hasNext()) { | |
String str = input.nextLine(); | |
char []asc_ii = new char[128-32+1]; | |
int []asc_ii_int = new int[128-32+1]; | |
int ascc_val = 32; |
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.*; | |
public class main{ | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
int numbers = input.nextInt(); | |
String str2 = input.nextLine(); | |
ArrayList<String> lists = new ArrayList<String>(); | |
String result = ""; | |
while(input.hasNext()) { | |
String str = input.nextLine(); |
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.*; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
int count = 0; | |
while(true) { | |
int nums = input.nextInt(); | |
if(nums == 0) | |
break; |
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
<?php | |
set_time_limit(0); | |
function IRCBot() | |
{ | |
$token = json_decode(file_get_contents("pass.txt"), true); | |
$config = array( | |
'server' => 'irc.twitch.tv', | |
'port' => 6667, | |
'channel' => 'dreamhacksc2', | |
'name' => 'peter279k', |
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
TextView text; | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_web_view); | |
text = (TextView) findViewById(R.id.textView); | |
String appFileDirectory = getFilesDir().getPath(); | |
String executableFilePath = appFileDirectory + "/php-cgi"; | |
copyAssetsExecute("php-cgi", appFileDirectory, executableFilePath); |
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/bash | |
export TOOLCHAIN=/home/lab501/android-toolchain | |
export PATH=$TOOLCHAIN/bin:$PATH | |
export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc | |
export CXX=$TOOLCHAIN/bin/arm-linux-androideabi-g++ | |
export RANLIB=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib | |
export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar | |
export LD=$TOOLCHAIN/bin/arm-linux-androideabi-ld | |
export STRIP=$TOOLCHAIN/bin/arm-linux-androideabi-strip |
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/bash | |
export TOOLCHAIN=/home/lab501/android-toolchain-16 | |
export PATH=$TOOLCHAIN/bin:$PATH | |
export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc | |
export CXX=$TOOLCHAIN/bin/arm-linux-androideabi-g++ | |
export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar | |
export RANLIB=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib | |
export STRIP=$TOOLCHAIN/bin/arm-linux-androideabi-strip | |
export CFLAGS="-I$TOOLCHAIN/sysroot/usr/include" |
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
02-17 02:29:10.514 25730-25730/demo.server.web.lee.webserverdemo E/output-version﹕ output: lighttpd/1.4.33 (ssl) - a light and fast webserver | |
Build-Date: Feb 17 2016 00:56:12 | |
Event Handlers: | |
+ select (generic) | |
+ poll (Unix) | |
- rt-signals (Linux 2.4+) | |
+ epoll (Linux 2.6) | |
- /dev/poll (Solaris) | |
- eventports (Solaris) | |
- kqueue (FreeBSD) |
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
02-17 03:26:12.320 18445-18445/demo.server.web.lee.webserverdemo E/output-version﹕ output: PHP 5.6.17 (cgi-fcgi) (built: Feb 17 2016 03:16:15) | |
Copyright (c) 1997-2015 The PHP Group | |
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies |
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
02-17 03:28:53.844 19994-19994/demo.server.web.lee.webserverdemo E/output-version﹕ output: [PHP Modules] | |
bcmath | |
bz2 | |
calendar | |
cgi-fcgi | |
Core | |
ctype | |
curl | |
date | |
dom |