0:58 ──♤───── 3:47
↻ ◁ II ▷ ↺
ılı.lıllılı.ıllı....llı.........lıl..lı.................
ᴠᴏʟᴜᴍᴇ : ▮▮▮▮▮▮▯▯▯
This file contains hidden or 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
javascript:(b=>fetch('https://api.github.com/repos/'+b[1]+'/commits?sha='+(b[2]||'')).then(c=>Promise.all([c.headers.get('link'),c.json()])).then(c=>{if(c[0]){var d=c[0].split(',')[1].split(';')[0].slice(2,-1);return fetch(d).then(e=>e.json())}return c[1]}).then(c=>c.pop().html_url).then(c=>window.location=c))(window.location.pathname.match(/\/([^\/]+\/[^\/]+)(?:\/tree\/([^\/]+))?/)); |
This file contains hidden or 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 truncateRichText = (richText, options) => { | |
let characterCount = 0; | |
const _truncateRich = (rich) => { | |
const { children } = rich; | |
const truncatedChildren = children.reduce((accumulator, node, index) => { | |
if (characterCount < options.length) { | |
if (isString(node)) { | |
const nextCount = characterCount + node.length; |
Convert Markdown image link to HTML <img>
with resize percent:
const resizeMdImg = (mdImgStr, size) => {
if (!mdImgStr) return;
const mdImgExpression = /^!\[(.*)\]\((.*)\)/;
const { 1: alt, 2: src } = mdImgStr.match(mdImgExpression);
const sizeStr = size ? ` height="${size}" width="${size}"` : "";
-
Turn off the PC, and put in the Windows installation DVD or USB key.
-
Boot the PC to the DVD or USB key in UEFI mode. For more info, see Boot to UEFI Mode or Legacy BIOS mode.
-
From inside Windows Setup, press Shift+F10 to open a command prompt window.
-
Open the diskpart tool:
diskpart
This file contains hidden or 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
/* | |
TODO: Change API to make `paths` an array of strings | object | |
*/ | |
const pickAs = (obj, paths) => { | |
return Object.entries(paths).reduce((accumulator, [path, definition]) => { | |
const resultValue = get(obj, path); | |
if (definition === true) { | |
accumulator[path] = resultValue; | |
} else if (isFunction(definition)) { |
This file contains hidden or 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 foldBy(constructor, arr) { | |
if (!arr.length) return null; | |
const [item, ...rest] = arr; | |
return constructor(item, foldBy(constructor, rest)); | |
} |
This file contains hidden or 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
/* | |
Example copied from: https://atlaskit.atlassian.com/packages/core/datetime-picker | |
Usage: | |
<Controlled initialValue="2018-01-02"> | |
{({ value, onValueChange, onBlur }) => ( | |
<DatePicker | |
id="datepicker-2" | |
value={value} |
This file contains hidden or 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
tf_mm_servermode 0 //Matchmaking |0 = not active|1 = Put in matchmaking pool | |
tf_mm_strict 2 //0 = Show in browser, and allow ad-hoc|1 = Hide from browser and only allow joins through matchmaking|2 = Hide from browser, but allow ad-hoc joins |
This file contains hidden or 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
"Missing Commands will be added once I learn what they are, dont be shy, let me know if Im missing any!" | |
"Some plugins and commands may not be present on some servers, as this is an overall list." | |
"Admin Help" by AlliedModders LLC | |
sm_help - Displays SourceMod commands and descriptions | |
sm_searchcmd - Searches SourceMod commands | |
"Admin Menu" by AlliedModders LLC | |
sm_admin - Opens admin menu | |
NewerOlder