Skip to content

Instantly share code, notes, and snippets.

Avatar

Damian Gądziak CombatCode

View GitHub Profile
@CombatCode
CombatCode / gist:8026912
Created Dec 18, 2013
universal text-shadow mixin
View gist:8026912
@function strip-unit($num) {
@return $num / ($num * 0 + 1);
}
@mixin text-shadow($h-shadow: 0, $v-shadow: 0, $blur: 0, $color: #ffffff) {
text-shadow: $h-shadow $v-shadow $blur $color;
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#{$color},direction=90,strength=#{strip-unit($blur)})";
}
View gist:11283842
var cookies = document.cookie.split(";");
for (var i=0;i<cookies.length;i++) {
if (cookies[i].indexOf("app_locale") > -1) {
var language = cookies[i].split("=")[1]
}
}
if (language == "fr_CA") {
$(document).ready(function() {
// Changes in 417.html page
var elem = document.getElementsByClassName("fr_CA_417");
View gist:f875f5e7fa4957ad4cb9
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
User = mongoose.model('User'),
Profile = mongoose.model('Profile');
@CombatCode
CombatCode / theme.css
Last active Feb 8, 2017
hack slack theme
View theme.css
#msgs_scroller_div::-webkit-scrollbar-track, #client_body::before, .client_container,
#search_terms, #client_body, #footer, ts-message, .channel_header, ts-jumper ts-jumper-container,
ts-jumper input[type="text"],
.supports_custom_scrollbar:not(.slim_scrollbar) #col_channels:hover #channels_scroller::-webkit-scrollbar-track{
background: #222 !important;
}
#client_body::before {
border-bottom: 1px solid #1a2129 !important;
}
You can’t perform that action at this time.