Skip to content

Instantly share code, notes, and snippets.

View Geobert's full-sized avatar
🦀

Geobert Quach Geobert

🦀
View GitHub Profile
CmdUtils.CreateCommand({
name: "open-link",
_getSelectedLinks: function() {
var doc = CmdUtils.getDocument();
var links = doc.links;
if (null == links)
return {urls: null, nbLinks: 0};
var nbLinks = links.length;
var urlhash = new Object();
var selection = CmdUtils.getWindow().getSelection();
//press-this
CmdUtils.makeBookmarkletCommand({
name: 'press-this',
icon: "http://wordpress.org/favicon.ico",
author: { name: "Lee Everson", email: "lee@0-21.co.uk"},
license: "GPL",
description: "invoke worpress press-this bookmarklet, any where any time. That's it!",
help: "Just type 'press-this'",
url: "javascript:var%20d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://pti-zarticles.dnsalias.org/wp/wp-admin/press-this.php',l=d.location,e=encodeURIComponent,g=f+'?u='+e(l.href)+'&t='+e(d.title)+'&s='+e(s)+'&v=2';function%20a(){if(!w.open(g,'t','toolbar=0,resizable=0,scrollbars=1,status=1,width=720,height=570')){l.href=g;}}setTimeout(a,0);void(0);",
}
Verifying that +geobert is my blockchain ID. https://onename.com/geobert
std::string mon_namespace::appel_de_fonction ( p1,p2 );
void mon_namespace::appel_court ( );
#singleinstance
#NoTrayIcon
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode, 3
WinWait, Discord
WinRestore
; puth this file somewhere and create a shortuct in C:\Users\<User>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
; so it starts with Windows
#singleinstance
#NoTrayIcon
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Loop {

Keybase proof

I hereby claim:

  • I am Geobert on github.
  • I am geobomatic (https://keybase.io/geobomatic) on keybase.
  • I have a public key whose fingerprint is A4AC 19A9 6067 4341 BCC6 3265 5EB9 861D C59B FC47

To claim this, I am signing this object:

use datetime;
use serde_yaml;
use liquid;
use std::fs::File;
use std::io::Write;
use std::path::Path;
use super::super::document::{read_file, split_document};
use frontmatter::FrontmatterBuilder;
use error::{ErrorKind, Result};
use liquid;
use super::super::frontmatter;
use super::super::datetime;
use std::fs::File;
use std::io::Write;
use std::path::Path;
use super::super::document::{read_file, split_document};
use frontmatter::FrontmatterBuilder;
use error::{ErrorKind, Result};