Skip to content

Instantly share code, notes, and snippets.

Larry Boltovskoi larrybolt

Block or report user

Report or block larrybolt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View init.lua
-- Set up
local hyper = {"shift", "cmd", "alt", "ctrl"}
-- dofile("anycomplete/anycomplete.lua")
View .tern-project
"libs": [],
"loadEagerly": [],
"plugins": {
"webpack": {
"configPath": "./internals/webpack/"

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w d - delete current window
  • SPC TAB - switch to previous buffer
  • SPC b b - switch buffers
View gist:7bf7b3c3319fa7cfb3e49d3250cb6085

Building TensorFlow 1.3.0-rc1 for Raspberry Pi/Ubuntu 16.04: a Step-By-Step Guide

Here you'll learn how to build Tensorflow for the raspberry pi 3 with either the Python API or as a standalone shared library which can be interfaced from the C++ API and eventually as a library which can be used in other languages.


Now we can build Bazel! Warning: This takes a really, really long time. Several hours.


View gif2mp4
#!/usr/bin/env bash
set -o nounset
set -o errexit
trap 'echo "Aborting due to errexit on line $LINENO. Exit code: $?" >&2' ERR
set -o errtrace
set -o pipefail
function gif2mp4 {
ffmpeg -hide_banner -loglevel panic -i "$1" -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" "$1.mp4"
larrybolt / Dockerfile
Created Dec 18, 2018
gradle + spring boot + docker
View Dockerfile
FROM gradle:5.0-alpine AS build
USER root
RUN mkdir -p $APP_HOME/
# download dependencies
COPY build.gradle settings.gradle ./
RUN gradle resolveDependencies
View testasync.js
// this is our aync function
function query(x) {
return new Promise(resolve => {
setTimeout(() => {
resolve(x * 2)
}, 2000)
View telenet homespot error
Telenet homespot Wi-Free
Error executing macro: displayForm required parameter: roamingPartner is not specified. The problematic instruction: ---------- ==> macro displayForm [on line 106, column 1 in macro.ftl] in user-directive displayForm [on line 71, column 33 in login.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateException: Error executing macro: displayForm required parameter: roamingPartner is not specified. at freemarker.core.Macro$Context.sanityCheck( at freemarker.core.Macro$Context.runMacro( at freemarker.core.Environment.visit( at freemarker.core.UnifiedCall.accept( at freemarker.core.Environment.visit( at freemarker.core.MixedContent.accept( at freemarker.core.Environment.visit( at freemarker.core.Environment.process( at freemarker.template.Template.process( at o
larrybolt / javascript-map-examples.js
Created Feb 16, 2018
javascript map and forEach examples with for and ECMA6
View javascript-map-examples.js
// we have an array, with items
const items = [
// To go and print all of them
/* Regular, old way of doing it */ console.log("\n\n 1")
gawk -v RS='"' 'NR % 2 == 0 { gsub(/\n/, "") } { printf("%s%s", $0, RT) }' input.csv > output.fixed.csv
You can’t perform that action at this time.