First install the required gems:
gem install octokit awesomeprint rainbow
Then run it to extract all of your open GitHub issues into files (with comments).
ruby my-gh-issues.rb
First install the required gems:
gem install octokit awesomeprint rainbow
Then run it to extract all of your open GitHub issues into files (with comments).
ruby my-gh-issues.rb
use std::rc::Rc; | |
pub trait HKT<U> { | |
type C; // Current type | |
type T; // Type with C swapped with U | |
} | |
macro_rules! derive_hkt { | |
($t:ident) => { | |
impl<T, U> HKT<U> for $t<T> { |
trait StateSet { | |
fn next(self) -> (u32, Self); | |
} | |
trait State { | |
type S: StateSet; | |
fn next(self) -> (u32, Self::S); | |
} | |
macro_rules! delegate { |
#![allow(unused)] | |
use std::collections::HashMap; | |
#[derive(Debug)] | |
enum Scalar { | |
String(String), | |
Unsigned(u32), | |
Bool(bool), | |
} |
use std::any::Any; | |
use std::any::TypeId; | |
#[derive(Debug)] | |
enum Scalar { | |
String(String), | |
Unsigned(u32), | |
Bool(bool), | |
} |
#![allow(unused)] | |
mod generic { | |
pub struct Scalar<T: Default> { | |
value: T, | |
} | |
impl<T: Default> Scalar<T> { | |
pub fn new() -> Self { | |
Scalar { |
Need to open /usbkey/config and add | |
admin_v6_ip=xx:xx:xx/xx | |
admin_v6_gateway=yy:yy:yy | |
place ipv6 in /opt/custom/smf | |
place ipv6.xml in /opt/custom/scripts |
First install the required gems:
gem install octokit awesomeprint rainbow
Then run it to extract all of your open GitHub issues into files (with comments).
ruby my-gh-issues.rb
#!/usr/bin/tclsh | |
# | |
# Usage: git-unmerged branch1 branch2 | |
# | |
# Shows all the non-common commits in the two branches, where non-common | |
# commits means simply commits with a unique commit *message*. | |
proc getlog branch { | |
lrange [split [exec git log $branch --oneline] "\n"] 0 400 | |
} |
var comic = document.querySelector("div.s img[title]"); | |
var titleP = document.createElement("p"); | |
titleP.style.fontVariant = "normal"; | |
titleP.style.border = "1px solid yellow"; | |
titleP.style.padding = "1em"; | |
titleP.style.backgroundColor = "#FFFFCC"; | |
titleP.innerText = comic.title; | |
comic.insertAdjacentElement("afterEnd", titleP); |