Skip to content

Instantly share code, notes, and snippets.

@Aminejvm
Aminejvm / shadow.css
Created Aug 24, 2019
[shadows depth] #css #shadow
View shadow.css
box-shadow: 0px 1px 3px rgba(0,0,0,0.2); /* notice but not dominate*/
box-shadow: 0px 4px 6px rgba(0,0,0,0.1); /* bit further the ui */
box-shadow: 0 15px 35px rgba(0,0,0,0.2); /* large shadows = capture user's attention */
@kenichimiki
kenichimiki / control-regza-tv.py
Created Aug 24, 2019
Control Toshiba Regza TV via python using web I/F
View control-regza-tv.py
import requests
from requests.auth import HTTPDigestAuth
TV_IP = "xxx.xxx.xxx.xxx"
TV_USER = "user"
TV_PASS = "pass"
TV_VOLUME_DOWN = "40BF1E"
TV_BOTTON_8 = "40BF08"
def execjanken(key):
@Discord-AppBot
Discord-AppBot / answer.md
Created Aug 24, 2019
AppBot - a Discord bot made for staff application management within Discord.
View answer.md

PSN:

How did you find out about this server?:

Character Name:

Character Backstory:

PSN: ADDNoah

Searched for an RP Conan server

@ewe2
ewe2 / TrueColour.md
Created Aug 24, 2019 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals
View TrueColour.md

Terminal Colors

There exists common confusion about terminal colors. This is what we have right now:

  • Plain ASCII
  • ANSI escape codes: 16 color codes with bold/italic and background
  • 256 color palette: 216 colors + 16 ANSI + 24 gray (colors are 24-bit)
  • 24-bit true color: "888" colors (aka 16 milion)
@ryu1kn
ryu1kn / README.md
Last active Aug 24, 2019
Getting GCP access token from a service account key JSON file
View README.md

Getting GCP access token from a service account key

Use your service account's key JSON file to get an access token to call Google APIs.

Good for seeing how things work, including the creation of JWT token. If you just want to get an access token for a service account, you can do the same thing with just gcloud command. cf Authorization and authentication.

Prerequisites

View commandler-test.xml
<?xml version="1.1" encoding="UTF-8"?>
<commandler xmlns="https://commandler.elypia.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://commandler.elypia.com commandler.xsd">
<controllers>
<controller type="com.elypia.commandler.DefaultHelpController">
<name>Help</name>
<group>Guidance</group>
<help>Offer generic help through all the modules in this bot.</help>
<properties>
View api_19236_637022090083796499.cs
class SuppressionMarqueEventData
{
int MarPk { get; set; }
string Libelle { get; set; }
string Code { get; set; }
bool EstInterne { get; set; }
}
View api_19236_637022090083796499.cs
class ModificationMarqueEventData
{
int MarPk { get; set; }
string Libelle { get; set; }
string Code { get; set; }
bool EstInterne { get; set; }
}
View api_19236_637022090083796499.cs
class CreationMarqueEventData
{
int MarPk { get; set; }
string Libelle { get; set; }
string Code { get; set; }
bool EstInterne { get; set; }
}
You can’t perform that action at this time.