Skip to content

Instantly share code, notes, and snippets.

View hbt's full-sized avatar

Hassen Ben Tanfous hbt

View GitHub Profile

Awesome Go

Build Status Awesome Slack Widget Netlify Status

Sponsorships

Digital Ocean

We have no monthly cost, but we have employees working hard to maintain the Awesome Go, with money raised we can repay the effort of each person involved! All billing and distribution will be open to the entire community.

A cura

@hbt
hbt / log
Created September 29, 2020 00:39
Creating robotgostatic ... done
Attaching to robotgostatic
robotgostatic | # github.com/hbt/invrobotgo
robotgostatic | /root/goroot/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
robotgostatic | /tmp/go-link-484287535/000019.o: In function `mygetgrouplist':
robotgostatic | /workdir/go/src/os/user/getgrouplist_unix.go:16: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /tmp/go-link-484287535/000018.o: In function `mygetgrgid_r':
robotgostatic | /workdir/go/src/os/user/cgo_lookup_unix.go:38: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /tmp/go-link-484287535/000018.o: In function `mygetgrnam_r':
robotgostatic | /workdir/go/src/os/user/cgo_lookup_unix.go:43: warning: Using 'getgrnam_r' in statically linked applications requires at runtime t
.idea
(function run2() {
print("asdasdww")
print(IDE.project)
var myObj = new java.io.File("/tmp/gg3.txt");
myObj.createNewFile()
var tt = new java.util.TimerTask({
run: function() {
print("mm")
-- Actions ---
$Copy <C-C> <C-Ins>
$Cut <S-Del> <M-X>
$Delete <Del>
$LRU <A-C-O>
$Paste <S-Ins> <M-V> <C-V>
$Redo <A-S-BS>
$SearchWeb <A-G>
$SelectAll
$Undo <A-BS>
{
}
{
// //
// let filenames = 'comp2.leo comp.leo oval2.xml etodos.leo fh.leo goals.leo housing.leo ia.leo outline.leo oval2.xml'
// let files = filenames.split(' ')
// files = files.filter((v) => {
// return v.length > 0
.idea
@hbt
hbt / .gitignore
Last active October 2, 2019 09:58
node_modules
--- Actions ---
$Copy <C-C> <C-Ins>
$Cut <S-Del> <M-X>
$Delete <Del>
$LRU <A-C-O>
$Paste <S-Ins> <M-V> <C-V>
$Redo <A-S-BS>
$SearchWeb <A-G>
$SelectAll
$Undo <A-BS>
@hbt
hbt / sk.js
Created December 7, 2018 01:48
// async windowCloseOtherWindows(_message, _sender, _sendResponse) {
// const ctab = await chrome.tabs.get(_sender.tab.id)
// var cwinId = ctab.windowId
// var ws = await chrome.windows.getAll()
// for(let w of ws) {
// if(w.id === cwinId) {
// continue;
// }
// const pinnedTabs = await chrome.tabs.query({
// pinned: true,