- Download iso file from lenovo support website
wget https://download.lenovo.com/pccbbs/mobiles/jbuj57wd.iso- Convert iso to img
geteltorito.pl -o bios.img jbuj57wd.iso- Copy img to an USB key
| /** | |
| * RASServer | |
| * | |
| * cf. https://ipfs.io/ipfs/QmfYeDhGH9bZzihBUDEQbCbTc5k5FZKURMUoUvfmc27BwL/socket/udp_datagrams.html | |
| */ | |
| package main | |
| import ( | |
| "fmt" |
| <?php | |
| /** | |
| * f framework, the lightest framework for PHP 5 | |
| * | |
| * Copyright (c) 2007 Franck Marcia | |
| * | |
| * @package f | |
| * @author Franck Marcia | |
| * @copyright (c) 2007 Franck Marcia | |
| * @license http://www.opensource.org/licenses/mit-license.php MIT |
| #!/bin/sh | |
| # | |
| # Change the commit and/or author date of git commits. | |
| # | |
| # change-date [-f] commit-to-change [branch-to-rewrite [commit-date [author-date]]] | |
| # | |
| # If -f is supplied it is passed to "git filter-branch". | |
| # | |
| # If <branch-to-rewrite> is not provided or is empty HEAD will be used. |
| #!/usr/bin/bash | |
| loadkeys fr | |
| # ssd clearing (wiki.archlinux.org/index.php/SSD_memory_cell_clearing) | |
| hdparm -I /dev/sda # and ensure the ssd is not frozen | |
| hdparm --user-master u --security-set-pass MyPaSsWoRd /dev/sda | |
| hdparm -I /dev/sda # in order to check | |
| hdparm --user-master u --security-erase MyPaSsWoRd /dev/sda |
wget https://download.lenovo.com/pccbbs/mobiles/jbuj57wd.isogeteltorito.pl -o bios.img jbuj57wd.iso| # prompt | |
| autoload -Uz promptinit; promptinit | |
| setopt promptsubst | |
| PS1=$'%B%n@%M:%~ $ %b' | |
| PS2=' > ' | |
| # history | |
| setopt sharehistory histignorealldups appendhistory | |
| HISTFILE=~/.histfile | |
| HISTSIZE=9999 |
| #EXTM3U | |
| #EXTINF:0,FIP | |
| http://mp3.live.tv-radio.com/fip/all/fiphautdebit.mp3 | |
| #EXTINF:0,France Culture | |
| http://mp3.live.tv-radio.com/franceculture/all/franceculturehautdebit.mp3 | |
| #EXTINF:0,France Inter | |
| http://mp3.live.tv-radio.com/franceinter/all/franceinterhautdebit.mp3 |
| #!/usr/bin/node | |
| /* ----------------------------------------------------------------------------- | |
| * aur.js | |
| * Search and download AUR packages | |
| * Author: Franck Marcia - https://github.com/fmarcia | |
| */ | |
| "use strict"; |
| // Tiny jQuery-like toolbox | |
| // Author: Franck Marcia | |
| /*global document,window,XMLHttpRequest*/ | |
| var $ = (function () { | |
| "use strict"; | |
| function Query(selector, context, content) { |