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
{"name":"p2","settings":"{\"settings\":\"{\\n /**\\n * Better Defaults\\n **/\\n \\\"editor.copyWithSyntaxHighlighting\\\": false,\\n \\\"diffEditor.ignoreTrimWhitespace\\\": false,\\n \\\"editor.emptySelectionClipboard\\\": false,\\n \\\"workbench.editor.enablePreview\\\": false,\\n \\\"window.newWindowDimensions\\\": \\\"inherit\\\",\\n \\\"editor.multiCursorModifier\\\": \\\"ctrlCmd\\\",\\n \\\"files.trimTrailingWhitespace\\\": true,\\n \\\"diffEditor.renderSideBySide\\\": false,\\n \\\"editor.snippetSuggestions\\\": \\\"none\\\",\\n \\\"editor.detectIndentation\\\": false,\\n \\\"files.insertFinalNewline\\\": true,\\n \\\"files.trimFinalNewlines\\\": true,\\n\\n /**\\n * Hide Everything\\n */\\n //\\\"workbench.activityBar.location\\\": \\\"hidden\\\",\\n \\\"workbench.sideBar.location\\\": \\\"right\\\", //here\\n \\\"editor.minimap.enabled\\\": false,\\n \\\"editor.lineNumbers\\\": \\\"off\\\",\\n \\\"editor.guides.indentation\\\": false,\\n\\n /**\\n * Silence The Noise\\n |
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 base_converter(nbasefrom, basefrom, baseto) { | |
var SYMBOLS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
if (basefrom<=0 || basefrom>SYMBOLS.length || baseto<=0 || baseto>SYMBOLS.length) { | |
console.log("Base unallowed"); | |
return null; | |
} | |
var i, nbaseten=0; | |
if (basefrom!=10) { | |
var sizenbasefrom = nbasefrom.length; | |
for (i=0; i<sizenbasefrom; i++) { |
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
package my.hydepark.ssl; | |
import javax.net.ssl.*; | |
import java.security.cert.CertificateException; | |
import java.security.cert.X509Certificate; | |
public class SSLCertificateValidation { | |
public static void disable() { | |
try { |
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
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
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 PopperTooltip from 'tooltip.js'; | |
new Vue({ | |
el: '#app', | |
mounted() { | |
document.querySelectorAll('[data-tooltip]').forEach(elem => { | |
new PopperTooltip(elem, { | |
placement: elem.dataset.tooltipPlacement || 'top', | |
title: elem.dataset.tooltip |
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 | |
namespace Supawdog\Console\Commands; | |
use Illuminate\Console\Command; | |
use Symfony\Component\Process\ProcessUtils; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Process\PhpExecutableFinder; | |
class WebpackCommand extends Command |
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
class MyComponent extends React.Component { | |
render() { | |
const {location, todos, users} = this.props; | |
// | |
// ... do things with your variables! | |
// | |
return ( | |
<MyChild {...{location, todos, user}} /> | |
// equivalent to: | |
// <MyChild location={location} todos={todos} user={user} /> |