Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block Darkside73

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Darkside73 / DateRangePicker.vue
Last active Sep 20, 2019
Vuetify DateRangePicker
View DateRangePicker.vue
class="date-range-picker" :value="value" @input="onInput"
color="light-blue" event-color="light-blue lighten-4 date-in-range" :events="selectedRange"
:allowed-dates="allowedDates" no-title multiple
Darkside73 / acestream.desktop
Created Jun 20, 2018
ubuntu xdg-open acestream
View acestream.desktop
# ~/.local/share/applications/acestream.desktop
[Desktop Entry]
GenericName=Media player
Comment=Open Acestream links with VLC Media Player
Exec=/snap/bin/acestreamplayer %u
View Preferences.sublime-settings
"caret_style": "phase",
"default_line_ending": "unix",
"detect_slow_plugins": false,
"ensure_newline_at_eof_on_save": true,
Darkside73 / component.vue
Created Dec 15, 2016
Vue UI notifications
View component.vue
<transition name="fade" enter-active-class="fadeInDown" leave-active-class="fadeOutDown">
<div :class="cssClass" class="ui animated message">
<i @click="triggerClose(notification)" class="close icon"></i>
<div v-if="notification.title" class="header">{{notification.title}}</div>
View gist:3905c264146632f951998c29b4e1e0fa
"caret_style": "phase",
"color_scheme": "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme",
"default_line_ending": "unix",
"detect_slow_plugins": false,
"ensure_newline_at_eof_on_save": true,
View .gitconfig
diff = auto
status = auto
branch = auto
[color "branch"]
current = green
local = yellow
remote = magenta
[color "diff"]
meta = yellow

Ubuntu 15.10 npm 3.5.3 node 4.2.6

test-sourcemaps@ /tmp/my-project
├─┬ babel-core@6.4.5
│ ├─┬ babel-code-frame@6.3.13
│ │ ├── js-tokens@1.0.2
│ │ ├─┬ line-numbers@0.2.0
Darkside73 / webpack.server.js
Created Jan 14, 2016
Webpack dev server with hot reload
View webpack.server.js
const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const config = require('../webpack.config');
const hotWebpackPort = process.env.HOT_WEBPACK_PORT || 3500;
config.output.publicPath = `https://localhost:${hotWebpackPort}/assets/`;
['entry1', 'entry2'].forEach(entryName => {
'webpack-dev-server/client?https://localhost:' + hotWebpackPort,
View User.php
class User extends UserAbstract {
public $old_password;
public $auth_hash;
public $usernameOnForum;
Darkside73 / gist:1f1a34e13d585fddeb20
Created Mar 18, 2015
Ruby mixin example with configurable methods
View gist:1f1a34e13d585fddeb20
require 'active_support'
module Connectable
extend ActiveSupport::Concern
def connect
puts "connecting with #{self.class.params}"
class_methods do
You can’t perform that action at this time.