View gist:474bc4a15f8e2a0bb2d7cb4a921b708a
use File::Temp qw(tempfile);
sub run_prog {
my $cmd = shift;
my ($tempfh, $tempfn) = tempfile(UNLINK => 1);
my $stderr = `$cmd 2>&1 > $tempfn`;
my $stdout = do { local $/; <$tempfh> };
# close $tempfh; # これがないと、いずれ too many open files になる
return ($stderr, $stdout);
}
View output_log.txt
Log uploaded on Monday, October 23, 2017, 1:31:49 PM
Loaded mods:
Core: (no assemblies)
HousekeeperAssistanceCat: HouseCatCleaningJob(1.0.0.0)
[TFB] Animal Kigurumi Party: (no assemblies)
Vegetable Garden : CuprosDrinks(1.0.0.0), VGDrinks(1.0.0.0)
RimFridge - A17: 0Harmony(1.0.9.1), RimFridge(1.0.0.0), SaveStorageSettingsUtil(1.0.0.0)
Miscellaneous 'CORE': ColonistKeys(0.8.0.0), CommonMisc(0.10.0.0)
Misc. Robots: AIRobot(1.10.0.0)
Artful Robots: $HugsLibChecker(0.3.0.0), UnityEngine(0.0.0.0)
View die-mthrfkr.js
n.kill('SIGTERM');
setTimeout(function () {
if(!n.hasExited){
n.kill('SIGINT');
setTimeout(function () {
if(!n.hasExited){
n.kill('SIGKILL');
}
}, 1000);
}
View gist:23d33c8565f4b9e1c807f8569fea6960
{
"index": [
"hotel"
],
"ignore_unavailable": true,
"preference": 1508732431091
}
{
"version": true,
"size": 500,
View richhickey.md

Rich Hickey on becoming a better developer

Rich Hickey • 3 years ago

Sorry, I have to disagree with the entire premise here.

A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.

Mastery comes from a combination of at least several of the following:

View dddddddd
0x6285d98c077e268242570d635ac9cd1430ad48af
View brlog.trunk-test.20171023-132955
# Logfile created on 2017-10-23 13:29:55 +0900 by logger.rb/54362
I, [2017-10-23T13:29:55.792617 #10670] INFO -- : #<BuildRuby:0x00000001f5d790 @REPOSITORY="https://svn.ruby-lang.org/repos/ruby/trunk", @REPOSITORY_TYPE=:svn, @git_branch=nil, @svn_revision=nil, @TARGET_NAME="trunk-test", @SRC_DIR="/home/ko1/ruby/src", @BUILD_DIR="/home/ko1/ruby/build", @INSTALL_DIR="/home/ko1/ruby/install", @TARGET_SRC_DIR="/home/ko1/ruby/src/trunk-test", @TARGET_BUILD_DIR="/home/ko1/ruby/build/trunk-test", @TARGET_INSTALL_DIR="/home/ko1/ruby/install/trunk-test", @configure_opts=["--enable-shared"], @build_opts="-j12", @test_opts="TESTS='-j12'", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=500, @logfile="/home/ko1/ruby/logs/brlog.trunk-test.20171023-132955", @logger=#<Logger:0x00000001ef93a8 @progname=nil, @level=0, @default_formatter=#<Logge
View thirdhand.js
module.exports = function(bot) {
// Set our larger variables -- these would be fed into this function ideally
var baseURL = "www.thirdhand.jamesgarrett.co";
var company = "storybook";
// Start building our asset variables
var logo = ["logo.png"];
// How to find our logos folder
View playground.rs
use std::slice;
use std::mem;
fn main() {
outer_type(&0x01020304u32);
}
fn outer_type<T>(v: *const T)
where
T: Sized,
View sqlJOIN.sql
-- Lab name: lab5.sql
-- Student name: Monali Kamleshbhai Suthar
-- Date: 13/10/2017
-- Statement of authourship: I, Monali Kamleshbhai Suthar, 000740485, certify that this material is my original work.No other person's work has been used without due acknowledgement
-- and I have not made my work available to anyone else.
-- Group : 1 Basic Queries --
PRINT 'GROUP 1 SELECT B'
SELECT COUNT(PatientID) FROM Patients WHERE Gender='M' AND PatientWeight < (SELECT AVG(PatientWeight) FROM Patients WHERE Gender='F');
PRINT 'GROUP 1 SELECT C'