Skip to content

Instantly share code, notes, and snippets.

View sixones's full-sized avatar
🦖

Adam Livesley sixones

🦖
View GitHub Profile
This file has been truncated, but you can view the full file.
-- Logs begin at Sun 2018-06-17 14:00:53 BST, end at Mon 2019-01-14 23:28:29 GMT. --
Jan 14 14:50:44 mew kernel: Linux version 4.18.16-arch1-1-ARCH (builduser@heftig-28760) (gcc version 8.2.1 20180831 (GCC)) #1 SMP PREEMPT Sat Oct 20 22:06:45 UTC 2018
Jan 14 14:50:44 mew kernel: Command line: initrd=\initramfs-linux.img root=PARTUUID=98e450f7-682d-4fae-a7e2-39d12b233677 rw
Jan 14 14:50:44 mew kernel: KERNEL supported cpus:
Jan 14 14:50:44 mew kernel: Intel GenuineIntel
Jan 14 14:50:44 mew kernel: AMD AuthenticAMD
Jan 14 14:50:44 mew kernel: Centaur CentaurHauls
Jan 14 14:50:44 mew kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 14 14:50:44 mew kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jan 14 14:50:44 mew kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
### Keybase proof
I hereby claim:
* I am sixones on github.
* I am sixones (https://keybase.io/sixones) on keybase.
* I have a public key ASCQ3U-bASyCTuyYJaeG7LOpttQIqNbKZKxe-gNGfLlQ-go
To claim this, I am signing this object:
@sixones
sixones / qsa-polyfill-ie7.js
Last active August 31, 2017 11:38 — forked from connrs/qsa-polyfill-ie7.js
IE7 polyfill for document.querySelectorAll
if (!document.querySelectorAll) {
document.querySelector = function(selector) {
return document.querySelectorAll(selector)[0];
}
document.querySelectorAll = function(selector) {
if (document.__querySelectorAllStylesheet === undefined) {
document.__querySelectorAllStylesheet = document.createStyleSheet();
}
@sixones
sixones / gist:1846989
Created February 16, 2012 18:51 — forked from Gi133/gist:1837191
Lab2
package
{
import flash.display.Sprite;
import flash.events.Event;
import flash.text.TextField;
import flash.geom.ColorTransform;
import flash.geom.Transform;
import flash.display.Shape;
import flash.events.MouseEvent;
import flash.events.KeyboardEvent;
package
{
import flash.display.Shape;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import org.stylekit.css.value.BorderCompoundValue;
import org.stylekit.css.value.ColorValue;
import org.stylekit.css.value.LineStyleValue;
[Debug] Resetting the DrawingBoard and Canvas state on '[object DrawingBoard]'
[Info] Playback state set to to playbackPaused. on '[object Viewport]'
[Info] Completed changing playback state to PLAYBACK_PAUSED. on '[object Viewport]'
[Info] About to refresh with remote URL: http://sixty.im/seq.smil on '[object Viewport]'
[Debug] Heartbeat resetting. on '[object Heartbeat]'
[Debug] Removed drawn regions on '[object DrawingBoard]'
[Debug] Resetting the DrawingBoard and Canvas state on '[object DrawingBoard]'
[Debug] Re-drawn 4 regions to the DrawingBoard's Canvas on '[object DrawingBoard]'
[Debug] Handler added to RenderTree during update at 0ms on '[object HTTPVideoHandler]'
[Debug] Attempting to draw 1 handlers to the Canvas on '[object DrawingBoard]'
[Debug] Resetting the DrawingBoard and Canvas state on '[object DrawingBoard]'
[Info] About to change playback state to playbackPaused. on '[object Viewport]'
[Info] Playback state changed to PLAYBACK_PAUSED. on '[object Viewport]'
[Info] About to refresh with remote URL: http://sixty.im/demo.smil?v=0.010745052713900805 on '[object Viewport]'
[SWF] Users:sixones:Documents:Adobe Flash Builder 4:smilkit-demo:bin-debug:Main.swf - 257,810 bytes after decompression
[Debug] Heartbeat resetting. on '[object Heartbeat]'
[Debug] Removed drawn regions on '[object DrawingBoard]'
[Debug] Resetting the DrawingBoard and Canvas state on '[object DrawingBoard]'
[Debug] Re-drawn 1 regions to the DrawingBoard's Canvas on '[object DrawingBoard]'
[Debug] Handler added to RenderTree during update at 0ms on '[object HTTPVideoHandler]'
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *file;
long size;
char *buffer;
size_t data;
#
# RFC822 compliant regexp for email address validation
#
module Validator
def self.valid_email_address?(email)
email =~ /(?:(?:\r\n)?[ \t])*(?:(?:(?:[^()@,;:\\".\[\] 00-31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()@,;:\\".\[\]]))|”(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*”(?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()@,;:\\".\[\] 00-31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()@,;:\\".\[\]]))|”(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[\t]))*”(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()@,;:\\".\[\] 00-31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()@,;:\\".\[\] 00-31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*|(?:[^()@,;:\\".\[\] 00-31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()@,;:\\".\[\]]))|”(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*”(?:(?:\r\n)?[ \t])*)*\<(?:(?:\r\n)?[ \t])*(?:@(?:[^()@,;:\\".\[\] 00-31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[\t])*)(?