- Enter terminal: Control+Alt+T
- Enter to advanced shell: shell
- sudo su
- Remount with write permissions: sudo mount -o remount,rw /
- Download and run the script: wget https://gist.githubusercontent.com/ruario/3c873d43eb20553d5014bd4d29fe37f1/raw/f9b15356baae5dae0e1fd5c591d56bb20d4fd195/latest-widevine.sh | sh
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
const table: {[key: string]: number} = { | |
ArrowUp: 38, | |
ArrowDown: 40, | |
ArrowLeft: 37, | |
ArrowRight: 39, | |
KeyB: 66, | |
// Azerty compat | |
KeyQ: 65, | |
KeyA: 65, | |
}; |
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
server { | |
listen 80; | |
# Change domain | |
server_name domain.tld; | |
return 301 https://$server_name$request_uri; | |
} | |
server { | |
listen 443 ssl http2; |
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
server { | |
listen 80; | |
listen [::]:80; | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name _; | |
ssl_certificate /etc/nginx/ssl/phpbb.local.crt; |
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
{"schemaVersion":1,"label":"Coverage","message":"100%","namedLogo":"typescript"} |
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
<?php | |
// DB Backup | |
set_time_limit(500); | |
$success = false; | |
$localPath = './tmp/'; | |
$database['db_user'] = 'xxx'; | |
$database['db_password'] = 'xxx'; | |
$database['db_name'] = 'xxx'; |
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
interface Point { | |
angle: number; | |
multiplicator: number; | |
x: number; | |
y: number; | |
} | |
function randomValue(min: number, max: number){ | |
return Math.floor(min + Math.random()*(max + 1 - min)); | |
} |
-
Ctrl + Alt + T
-
shell
-
cras
Check output if any errors, you are good to find config files. -
If something is missing, go on https://github.com/plbossart/UCM to find missing files (or elsewhere.)
-
Boot under Ubuntu or another live usb to put files at the correct place
This file has been truncated, but you can view the full file.
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 | |
# This script was initially based on the information documented on the following sites: | |
# https://help.ubuntu.com/community/LiveCDCustomization (shared under a Creative Commons Attribution-ShareAlike 3.0 License available at https://help.ubuntu.com/community/License) | |
# https://wiki.ubuntu.com/KernelTeam/GitKernelBuild (shared under a Creative Commons Attribution-ShareAlike 3.0 License available at https://help.ubuntu.com/community/License) | |
# and then further developed by Linuxium ([email protected]). | |
# Version 1: This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. | |
# Version 2.01.050417: This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 License. | |
# Version 3.01.120417: This work is licensed under GNU GPL version 3 under one-way compatibility with CC BY-SA 4.0. | |
# Version 3.02.130417, 4.06.220417 to 4.09.280417, 5.01.020517, 6.01.120517, 6.02.0 to 6.03.3, 7.1.0 to 7.3.5.1, 7.3.6, 8.0.0 to 8.2.7: This work is licensed under GNU GPL version |
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
// Write any JavaScript you want, just make sure that | |
// the last expression is an Rx.Observable | |
const { asapScheduler, animationFrameScheduler, asyncScheduler, queueScheduler, merge, EMPTY } = Rx; | |
const { map, debounceTime, startWith, filter } = RxOperators; | |
// New macro-task (long-running task) | |
const asyncScheduler$ = EMPTY.pipe( | |
startWith('async', asyncScheduler) | |
) |
NewerOlder