v 1.1.0 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ||| ||| !!! MERCI DE LIRE ATTENTIVEMENT CE DOCUMENT AVANT DE COMMENCER LE LABORATOIRE !!! ||| ||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | |
# • Following packages must be installed : | |
# - qemu | |
# - samba | |
# - spice-vdagent | |
# - virt-viewer | |
# • SPICE driver needed in guest from https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-0.100.exe | |
# • For libvirtd to work for user, add user to libvirtd group and reboot | |
# > usermod -a -G libvirtd USER |
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 | |
# Need to install remote-viewer | |
remote-viewer -f -t "windows 10" spice://localhost:5900 |
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
www.facebook.com | |
facebook.com | |
youtube.com | |
feedly.com | |
twitter.com | |
www.lemonde.fr |
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 | |
# Author: jules randolph <jules.sam.randolph@gmail.com> https://github.com/jsamr | |
# License: MIT | |
# | |
# Usage: [<options>] <file.iso> | |
# | |
# Create a bootable FAT32 USB device from a linux-GNU/unix ISO. | |
# | |
# Options |
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
I, Jules Samuel Randolph, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Sat Jul 21 2018 09:07:16 GMT-0400 (EDT) |
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
import React, { PureComponent } from 'react' | |
import { WebView } from 'react-native-webview' | |
const htmlStyle = ` | |
:root { | |
color: #333333; | |
background-color: transparent; | |
} | |
body, html { | |
margin: 0; |
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
// Type definitions for patchinko v4.1.0 | |
// Project: patchinko | |
// Typescript: 3.1.6 | |
// Definitions by: Jules Samuel Randolph <https://github.com/jsamr> | |
declare module 'patchinko' { | |
type DeepPartial<T> = { | |
[P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>; | |
} | |
// Utility types |
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
function useDelayedRendering<T>({ | |
element, | |
delay = 200, | |
}: { | |
element: T; | |
delay: number; | |
}) { | |
const [renderedEl, setRenderedEl] = useState(element); | |
const lastRenderedAt = useRef(Date.now()); |
OlderNewer