Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
/* | |
* Fabrizio Calderan, twitter @fcalderan, 2010.11.02 | |
* I had an idea: could Inception movie be explained by a few javascript closures | |
* and variable resolution scope (just for fun)? | |
* | |
* Activate javascript console =) | |
*/ | |
<script> | |
console.group("inception movie"); |
<?php | |
/** | |
* check if user in department | |
* | |
* @param int $iUserID | |
* @param int $iDepartmentID | |
* @param bool $bCheckSubDepartments | |
* @return bool | |
*/ | |
function IsInDepartment($iUserID, $iDepartmentID, $bCheckSubDepartments = true) |
#!/bin/bash | |
# to see a more detailed progress do: | |
# tail -f install.log | |
######## CONFIG ########## | |
router="index.php" | |
serverRoot="/server" | |
domain="example.org" |
mysqldump --host=$host --user=$user -p$pass $db > $sqlfile | |
mysql --host=$host2 --user=$user2 -p$pass2 $db2 < $sqlfile |
// -------------------------------------------------- | |
// Flexbox LESS mixins | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// Flexbox display | |
// flex or inline-flex | |
.flex-display(@display: flex) { | |
display: ~"-webkit-@{display}"; | |
display: ~"-ms-@{display}box"; // IE10 uses -ms-flexbox |
function loadImages(paths,whenLoaded){ | |
var imgs=[]; | |
paths.forEach(function(path){ | |
var img = new Image; | |
img.onload = function(){ | |
imgs.push(img); | |
if (imgs.length==paths.length) whenLoaded(imgs); | |
} | |
img.src = path; | |
}); |
objHTTP = ПолучитьCOMОбъект("","Microsoft.XMLHTTP"); | |
ЗаписьЖурналаРегистрации("Завантаження файлу",УровеньЖурналаРегистрации.Информация, , ,"Сервер " + СокрЛП(Сервер)); | |
Попытка | |
objHTTP.open("GET", СокрЛП(Сервер) ,0,СокрЛП(Логін),СокрЛП(Пароль)); | |
исключение | |
ЗаписьЖурналаРегистрации("Помилка",УровеньЖурналаРегистрации.Ошибка, , ,ОписаниеОшибки()); | |
КонецПопытки; | |
objHTTP.send(); | |
Если objHTTP.readyState = 4 Тогда | |
Строка = toBase64(objHTTP.responseBody); |
const webpack = require('webpack') | |
const fs = require('fs') | |
// NODE_ENV | |
const nodeEnv = process.env.NODE_ENV || 'development' | |
const isProd = nodeEnv === 'production' | |
module.exports = (options) => { | |
let entryFile, outputPath, isClient, isServer |
# Advanced config for NGINX | |
server_tokens off; | |
add_header X-XSS-Protection "1; mode=block"; | |
add_header X-Content-Type-Options nosniff; | |
# Redirect all HTTP traffic to HTTPS | |
server { | |
listen 80; | |
server_name www.domain.com domain.com; | |
return 301 https://$host$request_uri; |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |