Skip to content

Instantly share code, notes, and snippets.

View mosbth's full-sized avatar

Mikael Roos mosbth

View GitHub Profile
seekers~/www/kod-exempel/test: git clone https://github.com/jj-julia/leroy.git le
Cloning into le...
remote: Counting objects: 561, done.
remote: Compressing objects: 100% (433/433), done.
remote: Total 561 (delta 175), reused 436 (delta 50)
Receiving objects: 100% (561/561), 312.30 KiB | 166 KiB/s, done.
Resolving deltas: 100% (175/175), done.
seekers~/www/kod-exempel/test:
@mosbth
mosbth / irssistats config files
Last active December 23, 2015 06:49
Konfig-filer till irssistats. Hojta till om något behöver fyllas på eller om du vill ha ditt foto med i loggen.
#
# dbwebb.nick
#
<NULL> ^marvin$
mos ^mos[\d]
Sylvanas ^JaneyPie$
Sylvanas ^Janey$
dela ^dela13$
Allinux ^Allinrep$
Allinux ^Allinwin$
@mosbth
mosbth / gist:7409560
Last active December 27, 2015 23:58
Install Linux Desktop using Debian, to replace my Mac-based environment and perhaps also my Windows envirnoment.
#
# Notes from installing Debian and setting it up as a Desktop Computer.
#
#
# Install Debian (stable) from usb, download from debian website.
#
#
@mosbth
mosbth / gist:10024344
Created April 7, 2014 17:14
Dispatch Anax MVC with params
Först.
$app->dispatcher->forward([
'controller' => 'comment',
'action' => 'view',
'params' => ['the-comment-key-to-this-page'],
]);
@mosbth
mosbth / capture.sh
Created May 16, 2014 11:50
Debian/Linux command-line script to capture screen, webcam and audio into three separate streams using ffmpeg and post edit them in Openshot which also renders the final movie.
#!/bin/bash
#Settingb for cam
#v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=1
v4l2-ctl --get-fmt-video
#v4l2-ctl --set-parm=30
v4l2-ctl --get-parm
# Settings for mic
amixer -c 2 set Mic 32
@mosbth
mosbth / gist:2320c4d3f10ce9b8bf53
Created October 27, 2014 07:59
Troubleshoot chmod from cygwin where permissions on files and dirtectories gets non-read, even for owner.
Gå till kursrepot.
ls -lR me | tee log1
bin/dbwebb upload
ls -lR me | tee log2
Visa innehållet i log1 och log2
Imorgon är det redovisning kl 8-17.
Vi träffas i J1640 kl 8 och börjar med redovisningarna/presentationerna.
Efter lunch fortsätter vi med testet i datorsalarna H320 och därefter avslutar vi med ett samtal om kursen.
Troligen är vi klara kl 15, men drar det ut på tiden så får vi hålla på tills vi är klara. Dock längst 17.
/Mikael & Jane
@mosbth
mosbth / -
Created November 5, 2014 12:04
Demo gist
Yey, this is a gist"
@mosbth
mosbth / -
Created November 5, 2014 12:08
My demo gist
Here comes some inline random text to fill up my gist made with the command-line utility - gist:
https://github.com/defunkt/gist
@mosbth
mosbth / gist:1181cc6da2786b9c7768
Created November 10, 2014 15:20
$HOME/.cshrc på ssh.student
# @(#)Cshrc 1.0 96/08/26 Ace
#################################################################
#
# .cshrc file
#
# initial setup file for both interactive and noninteractive
# C-Shells
#
#################################################################