Skip to content

Instantly share code, notes, and snippets.

View butlerx's full-sized avatar
:shipit:
shiping all the things

Cian Butler butlerx

:shipit:
shiping all the things
View GitHub Profile
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.20
v0.1.21
v0.1.22
v0.1.23
native-path: BAT0
vendor: LGC-LGC7.3
model: DELL 5K9CP64
serial: 41167
power supply: yes
updated: Sun 26 Jun 2016 23:02:39 IST (55 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
native-path: BAT0
vendor: LGC-LGC7.3
model: DELL 5K9CP64
serial: 41167
power supply: yes
updated: Sun 26 Jun 2016 22:58:38 IST (35 seconds ago)
has history: yes
has statistics: yes
battery

Keybase proof

I hereby claim:

  • I am butlerx on github.
  • I am butlerx (https://keybase.io/butlerx) on keybase.
  • I have a public key whose fingerprint is C61F 9E96 0956 795F 3DB4 1361 B37C A765 BAA8 9170

To claim this, I am signing this object:

@butlerx
butlerx / flexbox-slider.markdown
Created January 8, 2017 10:08
Flexbox slider

Flexbox slider

Little slider built with flexbox. Somewhat responsive, and can have fixed elements alongside the slider area.

A Pen by Cian Butler on CodePen.

License.

<!DOCTYPE html>
<html>
<head>
<title>test php</title> </head>
<body>
<?php
$temp = $_GET["temp"];
if (strlen($temp) != 0) {
temp($temp);
@butlerx
butlerx / gitea _postgress_errors.md
Last active April 24, 2017 12:39
gitea invalid byte sequence
db_1     | STATEMENT:  SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "passwd", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_cdb_1     | ERROR:  invalid byte sequence for encoding "UTF8": 0x80                                                                                                                                                                                                                     [146/27020]
db_1     | STATEMENT:  SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "passwd", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_c
reation", "is_active", "is_admin", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", 
@butlerx
butlerx / pylint.txt
Last active April 28, 2017 21:35
useradm pylint
************* Module rbaccount
W:131, 0: XXX Should check this before we rename user in ldap, have a (fixme)
W:184, 0: XXX (fixme)
W:257, 0: TODO (fixme)
W:262, 0: TODO (fixme)
E: 84,53: Too many positional arguments for function call (too-many-function-args)
R:264, 4: Too many arguments (7/5) (too-many-arguments)
R: 30, 0: Too many public methods (22/20) (too-many-public-methods)
************* Module rbconfig
W:220, 0: XXX: need files for carbon now aswell. (fixme)
@butlerx
butlerx / generateVhost.js
Created May 29, 2017 16:17
original script to generate vhost
#!/bin/node
//ldapsearch -D cn=root,ou=ldap,o=redbrick -xLLL -y /etc/ldap.secret objectClass uid gidNumber > entry.ldif
const fs = require('fs');
const _ = require('lodash');
const ldif = require('ldif');
const file = ldif.parseFile('./entry.ldif');
const users = [];
@butlerx
butlerx / docker-compose.yml
Created June 3, 2017 16:02
intro to docker
version: '2'
services:
nginx:
image: nginx
container_name: nginx
restart: 'always'
ports:
- '80:80'
- '443:443'
volumes: