- Milligram - A minimalist CSS framework.
- Milligram - Theme
- Column sizes | Bulma: Free, open source, and modern CSS framework based on Flexbox
- Skeleton: Responsive CSS Boilerplate
- Demo - turretcss - A Responsive Front-end Framework for Accessible and Semantic Websites
- CodyHouse/codyhouse-framework: A lightweight front-end framework for building accessible, bespoke interfaces.
- kognise/water.css: A just-add-css collection of styles to make simple websites just a little nicer
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 downloadExcel($table_html, $style_html){ | |
$file="gmdi.xls"; | |
header("Content-type: application/vnd.ms-excel"); | |
header("Content-Disposition: attachment; filename=$file"); | |
$excel = '<html xmlns:x="urn:schemas-microsoft-com:office:excel"> | |
<head> | |
<!--[if gte mso 9]> | |
<xml> | |
<x:ExcelWorkbook> | |
<x:ExcelWorksheets> |
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 | |
$subject = 'hello world'; | |
$mailto = '(my email)'; | |
$mailfrom = 'do_not_reply@(email)'; | |
$content = 'Test email !'; | |
$headers = 'MIME-Version: 1.0' . "\r\n"; | |
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; | |
$headers .= "From:".$mailfrom; | |
//$success = mail($mailto,$subject,$content,$headers); | |
$success = mail($mailto,$subject,$content); |
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
MERGE Meetings target | |
USING ( | |
VALUES ('2') | |
) AS source (uuid) | |
ON target.uuid = source.uuid | |
WHEN MATCHED THEN | |
UPDATE SET target.topic = 'updated' | |
WHEN NOT MATCHED THEN | |
INSERT (uuid, topic) | |
VALUES (source.uuid,'inserted') |
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
// This takes time... keep the voice reference somewhere before clicking on something | |
let voice_type = speechSynthesis.getVoices().find(function(voice) { return voice.name == 'Samantha'; }); | |
// e.g. after click event | |
var msg = new SpeechSynthesisUtterance(); | |
msg.voice = voice_type; | |
msg.text = "Awesome!"; | |
msg.rate = 1.4; | |
msg.pitch = 3.0; | |
window.speechSynthesis.speak(msg); |
Let's say secret message is 18, you send 31 in public network after encryption then you decrypt using secret key 233. You get back the original message 18.
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
// -------------------------- | |
// Base | |
class PokeDex { | |
constructor(name, hp, atk, gen, type){ | |
this.name = name; | |
this.hp = hp; | |
this.atk = atk; | |
this.gen = gen; | |
this.type = type; | |
this.rare = false; |
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
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mini.css/3.0.1/mini-default.min.css"> | |
</head> | |
<body style="padding:5px;"> | |
<div style="text-align:center"> | |
<br/> |
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
{"date": "2019-08-05T11:44:08.787879", "core": "1.1.3", "shell": "1.0.21", "mode": "DEBUG"} |
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
local ret_status="%(?:%{$fg_bold[green]%}:%{$fg_bold[red]%})" | |
PROMPT='${ret_status}${PWD/$HOME/~}%{$reset_color%}$(git_prompt_info)>' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[blue]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[yellow]%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
NewerOlder