Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯

Daniel Sousa daniel08s

🎯
  • Porto, Portugal
View GitHub Profile
@daniel08s
daniel08s / customAttr.html
Last active Jul 31, 2019
Dynamically changing content on CSS pseudo elements with custom attributes and attr() // Demo: https://jsbin.com/bezuraz
View customAttr.html
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<style type="text/css">
article {
display: block;
background: #ccc;
}
article::before {
@daniel08s
daniel08s / ConEmu.xml
Created Nov 19, 2018
ConEmu config file with Dracula Theme
View ConEmu.xml
<?xml version="1.0" encoding="utf-8"?>
<key name="Software" modified="2018-08-22 00:36:07" build="180626">
<key name="ConEmu" modified="2018-08-22 00:36:07" build="180626">
<key name=".Vanilla" modified="2018-11-16 00:50:24" build="180626">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Shells::PowerShell}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
View .gitconfig
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[rerere]
enabled = 1
autoupdate = 1
[core]
quotepath = false
View vscode-keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+7",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
View vscode-settings.json
{
// Uses the legacy module resolving.
"eslint._legacyModuleResolve": false,
// Always show the ESlint status bar item.
"eslint.alwaysShowStatus": true,
// Turns auto fix on save on or off.
"eslint.autoFixOnSave": false,
@daniel08s
daniel08s / tasks.json
Created Sep 17, 2018
VS Code - Tasks to open files in browser
View tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
// Open in Chrome
{
"label": "Open in Chrome",
"group": {
"kind": "build",