Skip to content

Instantly share code, notes, and snippets.

View samayo's full-sized avatar
💬
drink more water

Samson Daniel samayo

💬
drink more water
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2017-01-09 02:31:37" build="161203">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Shells::cmd}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
@samayo
samayo / install-ruby.sh
Created June 20, 2016 13:39 — forked from lukearmstrong/install-ruby.sh
Install enough to get Ruby and Sass working on RHEL/CentOS
# lol redhat
su
# Install deps
yum install libyaml libyaml-devel openssl libxml2-devel bison libxslt-devel openssl-devel tcl tk libffi tcl-devel tk-devel libffi-devel
# Download Ruby
cd /usr/local/src/
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
tar -xvzf ruby-1.9.3-p392.tar.gz
@samayo
samayo / test.php
Created May 13, 2016 14:33
Created via API
hello
@samayo
samayo / test.php
Created May 13, 2016 14:32
Created via API
/** * FOO * @link Bar */
@samayo
samayo / test.php
Created May 13, 2016 14:31
Created via API
<?php/** * FOO * @link Bar */declare(strict_types=1);
@samayo
samayo / test.php
Created May 13, 2016 14:27
Created via API
<?php/** * FOO * @link Bar */declare(strict_types=1);
@samayo
samayo / test.php
Created May 13, 2016 14:25
Created via API
<?php echo /** foo */ ?>
@samayo
samayo / test.php
Created May 13, 2016 14:25
Created via API
<?php echo 'FOO' ?>
@samayo
samayo / gistable.php
Created May 13, 2016 14:16
Created via API
<?php echo 1 + 1; ?>
@samayo
samayo / phpixie-stats.php
Created May 10, 2016 15:26 — forked from AndrewCarterUK/phpixie-stats.php
Script used to verify fraudulent installs on PHPixie.
<?php
function getJsonPage($url)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);