Add this to your ~/.atom/styles.less file:
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {| $twitter_client = new \Guzzle\Http\Client('https://api.twitter.com/{version}', array( | |
| 'version' => '1.1' | |
| )); | |
| $twitter_client->addSubscriber(new \Guzzle\Plugin\Oauth\OauthPlugin(array( | |
| 'consumer_key' => TWITTER_CONSUMER_KEY, | |
| 'consumer_secret' => TWITTER_CONSUMER_SECRET, | |
| 'token' => TWITTER_ACCESS_TOKEN, | |
| 'token_secret' => TWITTER_ACCESS_TOKEN_SECRET | |
| ))); |
| $.getScript('//connect.facebook.net/en_UK/all.js', function(){ | |
| FB.init({ | |
| appId: 'APPID', | |
| channelUrl: '//siteurl.com/channel.html', | |
| }); | |
| $("#some-btn-id").click(function () { | |
| FB.ui( | |
| { |
| <?php | |
| namespace SkinBootstrap\Utility; | |
| class Paypal { | |
| public static function createButton($id, $name, $price, $debug = false) { | |
| $username = PAYPAL_API_USERNAME; | |
| $password = PAYPAL_API_PASSWORD; |
| # memcached requires libevent | |
| cd /usr/local/src | |
| curl -O https://github.com/downloads/libevent/libevent/libevent-2.0.17-stable.tar.gz | |
| tar -xvzf libevent-2.0.17-stable.tar.gz | |
| cd libevent-2.0.17-stable* | |
| ./configure | |
| make | |
| sudo make install | |
| # Compile memcached utility |
| var params = { | |
| Bucket: 'bucketname', /* required */ | |
| CopySource: '/bucketname/' + key, /* required */ | |
| Key: key, /* required */ | |
| ACL: 'public-read', /* optional */ | |
| ContentType: 'audio/mpeg', /* optional */ | |
| MetadataDirective: 'REPLACE', | |
| }; | |
| s3.copyObject(params, function(err, data) { | |
| if (err) console.log(err, err.stack); // an error occurred |
| license: gpl-3.0 |
| const { src, dest, watch, parallel } = require('gulp'); | |
| const gulp = require('gulp'); | |
| const autoprefixer = require("autoprefixer"); | |
| const babel = require('gulp-babel'); | |
| const concat = require('gulp-concat'); | |
| const cssnano = require("cssnano"); | |
| const less = require('gulp-less'); | |
| const livereload = require('gulp-livereload'); | |
| const path = require('path'); |
Add this to your ~/.atom/styles.less file:
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {| import React, { useState, useEffect, useContext, createContext } from "react"; | |
| import * as firebase from "firebase/app"; | |
| import "firebase/auth"; | |
| import firebaseConfig from "../config/firebase"; | |
| // Add your Firebase credentials | |
| firebase.initializeApp(firebaseConfig); | |
| const AuthContext = createContext(); |
If you are having permissions problems (I feel bad for you son...) with your mounted veracrypt volumes when using NTFS there is a simple solution when using the CLI.
Mount like so:
veracrypt --truecrypt -t -k "" --pim=0 --protect-hidden=no --fs-options=umask=022 /dev/sdb1 /mnt/yourvolume
Replace sdb1 at whatever your drive path is of course.