- X server install on windows (VcXsrv)
- Sample docker file build (firefox)
- Environment setup and launch (Powershell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
pip3 install IPython | |
pip3 install matplotlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Lire un fichier et imprimer son contenu | |
var fs = require('fs'); | |
fs.readFile('README.md', 'utf8', function(err, contents) { | |
console.log(contents); | |
//contents object has the data | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export rendercmd="/opt/hfs18.0/bin/hbatch-bin" | |
export end_cmd=";quit"; | |
cd ~/nad.previz/x/x__for_fun__191122 | |
#volcano_smoke_column.hiplc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/node:10.0.0 | |
steps: | |
- checkout | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A simple script to kick off a certain ROP remotely, optionally | |
with a given framerange. | |
Usage: hython path/to/script/houBatch.py /path/to/hipfile /hou/path/to/rop | |
TODO: Add options for multiple ROPs, hperf. | |
""" | |
import hou, sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# credentials - How to save username and password in GIT? - Stack Overflow | |
#Run : | |
git config credential.helper store | |
#then | |
git pull | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@STCGoal Count files in the current dir | |
alias countfiles="du -a . | wc -l" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
command -v foo >/dev/null 2>&1 || { echo >&2 "I require foo but it's not installed. Aborting."; exit 1; } | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@cr A File URL is posted to the CHAT in the Resolution Field and the server render the content to the browser with the file content | |
var fetch = require('isomorphic-fetch'); // or another library of choice. | |
var fs = require('fs'); | |
var Dropbox = require('dropbox').Dropbox; | |
var token = process.env.DROPBOX_TOKEN; | |
var dbx = new Dropbox({ accessToken: token, fetch: fetch }); | |
var annoter_file = "9c6a35efe357580f32e759908430643d.annoter.txt"; | |
var annoter_folder_path = '/x/_/_db/annoter'; | |
var annoter_file_path = annoter_folder_path + '/' + annoter_file; |