Skip to content

Instantly share code, notes, and snippets.

View tansaku's full-sized avatar

Sam Joseph tansaku

View GitHub Profile
jscodeshift -t react-codemod/transforms/pure-render-mixin.js app/assets/javascripts/views/components/**/*
Processing 51 files... 
Spawning 7 workers...
Sending 8 files to free worker...
Sending 8 files to free worker...
Sending 8 files to free worker...
Sending 8 files to free worker...
Sending 8 files to free worker...
Sending 8 files to free worker...
@tansaku
tansaku / log.0.txt
Created June 28, 2018 10:41
AV Jibri Logs
sam@AVJitsyServer:~$ sudo tail /var/log/jitsi/jibri/log.0.txt
2018-06-28 10:25:05.967 INFO: [1] org.jitsi.jibri.Main.main() Using config file /etc/jitsi/jibri/config.json
2018-06-28 10:25:10.129 INFO: [1] org.jitsi.jibri.Main.loadConfig() Parsed config:
JibriConfig(recordingDirectory=/tmp/recordings, enabledStatsD=true, finalizeRecordingScriptPath=/path/to/finalize_recording.sh, xmppEnvironments=[XmppEnvironmentConfig(name=prod environment, xmppServerHosts=[prod.www.jitsi.agileventures.org], xmppDomain=www.jitsi.agileventures.org, controlLogin=XmppCredentials(domain=auth.www.jitsi.agileventures.org, username=username, password=password), controlMuc=XmppMuc(domain=internal.auth.www.jitsi.agileventures.org, roomName=JibriBrewery, nickname=jibri-nickname), sipControlMuc=null, callLogin=XmppCredentials(domain=recorder.www.jitsi.agileventures.org, username=username, password=password), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true)])
2018-06-28 10:25:11.968 WARNING: [1] org.glassfish.
@tansaku
tansaku / config.json
Created June 28, 2018 10:41
AV Jibri Config
{
// NOTE: this is a *SAMPLE* config file, it will need to be configured with
// values from your environment
// Where recording files should be temporarily stored
"recording_directory":"/tmp/recordings",
// The path to the script which will be run on completed recordings
"finalize_recording_script_path": "/path/to/finalize_recording.sh",
"xmpp_environments": [
{
@tansaku
tansaku / history.txt
Created June 6, 2018 16:19
from our dokku mediawiki experiments
Last login: Fri Jun 1 17:43:46 2018
ubuntu@DokkuVM:~$ history
1 sudo find . deploy_dokku.sh
2 sudo find . -name "deploy_dokku.sh"
3 sudo find -r . -name "deploy_dokku.sh"
4 sudo find / -name "deploy_dokku.sh"
5 sudo nano /etc/hosts
6 /var/lib/waagent/custom-script/download/0/deploy_dokku.sh 0.10.3
7 sudo chmod u+x /var/lib/waagent/custom-script/download/0/deploy_dokku.sh
8 sudo /var/lib/waagent/custom-script/download/0/deploy_dokku.sh 0.10.3
/* eslint-disable no-unused-vars, no-var */
var config = {
// Configuration
//
// Alternative location for the configuration.
// configLocation: './config.json',
// Custom function which given the URL path should return a room name.
@tansaku
tansaku / single-fail.txt
Created January 25, 2018 11:29
single cuke fail from metplus
[tansaku@Samuels-MBP:~/Documents/Github/AgileVentures/MetPlus_PETS (694_google_analytics)]$
→ be cucumber features/event_management.feature:35
Using the default profile...
Feature: manage notifications upon specific system events
As a user of PETS
I want to be notified of specific events appropriate to my role
And receive realtime as well as email notifications
Background: seed data # features/event_management.feature:7
@tansaku
tansaku / fails.txt
Created January 25, 2018 11:28
cuke-fails-metplus
expected to find text "Job Application: hr manager by John Seeker is accepted" in "MET|PLUS Home Jobs About Contact Hello, Dave Signed in successfully. × Add Job Seeker Your Open Tasks Your Closed Tasks No outstanding tasks Your Job Seekers (as JD) Job Seekers without a JD Name Status Last Login Search Matching Jobs Seeker, John Unemployed Seeking No resume on file Seeker, June Unemployed Seeking No resume on file ® MetPlus 2018 | Terms and Conditions Apply | All Rights Reserved Home | About | Contact" (Capybara::ExpectationNotMet)
features/accept_job_application.feature:92:in `And I should see "Job Application: hr manager by John Seeker is accepted"'
expected to find text "Job Seeker: Paula Jones has joined PETS." in "MET|PLUS Home Jobs About Contact Admin Hello, John Signed in successfully. × Add Job Seeker Unassigned Tasks Your Open Tasks All Open Tasks All Closed Tasks No outstanding tasks ® MetPlus 2018 | Terms and Conditions Apply | All Rights Reserved Home | About | Contact" (Capybara::ExpectationNotM
@tansaku
tansaku / output.txt
Created January 23, 2018 14:33
different runs of linear svm
lr,reg: 0.000000 25000.000000
iteration 0 / 1000: loss 777.803914
iteration 100 / 1000: loss 283.905719
iteration 200 / 1000: loss 106.902133
iteration 300 / 1000: loss 41.978504
iteration 400 / 1000: loss 18.960358
iteration 500 / 1000: loss 9.918861
iteration 600 / 1000: loss 7.038409
iteration 700 / 1000: loss 5.862711
iteration 800 / 1000: loss 5.861156
@tansaku
tansaku / test
Created December 18, 2017 16:38
test
test
@tansaku
tansaku / ether_address.txt
Created December 1, 2017 12:17
test ether address
0x7Ed96de021716D2a59F948A7fBEE595ff220F41C