- cygwin
- Latest JDK6
- Latest Apache Ant
- Latest Android SDK
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
{ build } master » cmake .. /repos/toyprojects/hunter-cmake-template/build 146 | |
-- The C compiler identification is GNU 5.4.0 | |
-- The CXX compiler identification is GNU 5.4.0 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /usr/bin/c++.exe |
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
SELECT EXTRACT(day FROM(sys_extract_utc(TO_TIMESTAMP_TZ('2016-03-11 13:00:00 -5:00', 'YYYY-MM-DD HH24:MI:SS TZH:TZM')) - | |
to_timestamp('1970-01-01', 'YYYY-MM-DD'))) * 86400000 | |
+ to_number(to_char(sys_extract_utc(TO_TIMESTAMP_TZ('2016-03-11 13:00:00 -5:00', 'YYYY-MM-DD HH24:MI:SS TZH:TZM')), | |
'SSSSSFF3')) FROM DUAL | |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.
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
import java.lang.*; | |
public class SysPropTest { | |
public static void main(String[] args) { | |
final String propName = "com.example.test.PropertyName"; | |
long start = System.currentTimeMillis(); | |
for (int i = 0; i < 1000000000; i++ ) { | |
String val = System.getProperty(propName); |
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
@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7') | |
@Grab(group='oauth.signpost', module='signpost-core', version='1.2.1.2') | |
@Grab(group='oauth.signpost', module='signpost-commonshttp4', version='1.2.1.2') | |
import java.io.* | |
import groovyx.net.http.* | |
import groovyx.net.http.RESTClient | |
import groovy.json.JsonSlurper | |
import static groovyx.net.http.Method.* | |
import static groovyx.net.http.ContentType.* |
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
print("hello world") | |
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
Heres a rough idea, how you can use this with any function object: | |
template<class F> | |
struct invoker | |
{ | |
static void start(void * x) | |
{ | |
(*(reinterpret_cast<F*>(x)))(); | |
delete x; | |
} | |
}; |