Skip to content

Instantly share code, notes, and snippets.

View Ansible Install
Prereq
# apt install python-pip git curl wget -y
As user:
$ mkdir ~/repos; cd $_
$ git clone https://github.com/ansible/ansible.git --recursive
$ pip install -e ansible/
View gist:fc36246f9c1609ec835d5acbde65c2a4
java.lang.RuntimeException: Exception in Application init method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'featuredModUpdaterConfig' defined in URL [jar:file:/C:/Program%20Files/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.7.jar!/com/faforever/client/config/FeaturedModUpdaterConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'modService' defined in URL [jar:file:/C:/Program%20Files/Downlord's%20FAF%20Client/lib/downlords-faf-client-0.10.7.jar!/com/faforever/client/mod/ModService.class]: Unsatisfied dependency expressed through constructor paramet
View gist:96ae46632fe37ec8ce9f7839345d00a1
USE [master];
DECLARE @kill varchar(8000) = '';
SELECT @kill = @kill + 'kill ' + CONVERT(varchar(5), session_id) + ';'
FROM sys.dm_exec_sessions
WHERE database_id = db_id('LSST')
SELECT @kill
EXEC(@kill);
View build-libra.md

Build libra cli

./scripts/cli/start_cli_testnet.sh

View keybase.md

ksbex Kevin Becker Detroit

Keybase proof

I hereby claim:

  • I am ksbex on github.
  • I am ksbex (https://keybase.io/ksbex) on keybase.
  • I have a public key ASBm-kOvG3OxMzujlcOyGNf6sANhqj4iaNwq8GkKf-DrLgo
@jzhang1688
jzhang1688 / PY0101EN-1-2-Strings.ipynb
Created Aug 23, 2019
Created on Cognitive Class Labs
View PY0101EN-1-2-Strings.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@unique1984
unique1984 / create_zip.php
Created Aug 23, 2019
PHP zip files and extract selected ones.
View create_zip.php
<?php
$zip_it = "dummy_data"; // folder name
$zip_name = "./test.zip";
$dir = realpath(__DIR__ . "/" . $zip_it);
$listing = scandir($dir);
//~ print_r($listing);
// die;
@VictorHachard
VictorHachard / renamefiles.py
Created Aug 23, 2019
Rename multiple files
View renamefiles.py
import os
import sys
# Function to rename multiple files
def main(path, prefixe, ext):
i = 0
for filename in os.listdir(str(path)):
my_dest = prefixe + str(i) + ext
print(my_dest)
my_source =path + filename
View ML0101EN-Clas-Logistic-Reg-churn-py-v1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.