Will presumably work for many RHEL "derivatives", like CentOS, Oracle Enterprise Linux, Scientific Linux as well as "similar enough" versions of Fedora.
There is a use case for 32-bit ruby as set out in this G+ post
#!/bin/sh | |
# | |
# Puma control script | |
# | |
# chkconfig: - 80 20 | |
# description: Puma | |
# Create an /etc/sysconfig/file of the same name as this with the following settings | |
# Note this code does NOT pick any defaults, so will fall over if these are unset. | |
# RACK_ENV=production |
Will presumably work for many RHEL "derivatives", like CentOS, Oracle Enterprise Linux, Scientific Linux as well as "similar enough" versions of Fedora.
There is a use case for 32-bit ruby as set out in this G+ post
#!/usr/bin/env ruby | |
# Linux only, sorry. | |
# | |
# Look for ext[34], xfs and vxfs. Alter the regexp FILESYSTEMS for others | |
# | |
# If you have /root as a separate partition, alter the value of ROOT_USABLE | |
# Config |
#!/bin/bash | |
mountpoint=/tmp | |
sleeper=240 | |
# percentage of disk used | |
function percentage { df $1 | tail -1 | awk '{print $4}' | tr -d % ; } | |
# Where we'll write | |
tempdir=$(mktemp -d --tmpdir=${mountpoint}) |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace DesignerTest | |
{ | |
class Program | |
{ |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature qw(say switch); | |
###################################################################### | |
package HashOfHash; | |
use Moose; |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature qw(say); | |
######################################################################## | |
package QS; |
#!/usr/bin/env perl | |
# Solution to a question in @gayle's "Cracking the Coding Interview" 5th ed. | |
# A child is running up the stairs and can take 1, 2 or 3 steps at a time. | |
# Count how many possible ways the child can run up the stairs. | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
use feature qw/ say /; |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
use feature qw /say/; | |
package Node; | |
use Moose; |
PERLDOC="-otext" perldoc perllocal | grep Module | awk '{print $7}' |