UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
apt-get update | |
apt-get install build-essential | |
apt-get install python | |
apt-get install git | |
apt-get install curl | |
#wget --no-check-certificate --output-document=Python.tgz https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz | |
#tar xfz Python.tgz | |
#cd Python-3.4.3 |
--[[--------------------------------------------------------------------------- | |
English (example) language file | |
--------------------------------------------------------------------------- | |
This is the english language file. The things on the left side of the equals sign are the things you should leave alone | |
The parts between the quotes are the parts you should translate. You can also copy this file and create a new language. | |
= Warning = | |
Sometimes when DarkRP is updated, new phrases are added. | |
If you don't translate these phrases to your language, it will use the English sentence. |
sudo apt-get install libappindicator1 |
<?php | |
function convert_id($id) | |
{ | |
if (strlen($id) === 17) | |
{ | |
$converted = substr($id, 3) - 61197960265728; | |
} | |
else | |
{ |
// Generates a URL-friendly "slug" from a provided string. | |
// For example: "This Is Great!!!" transforms into "this-is-great" | |
function generateSlug (value) { | |
// 1) convert to lowercase | |
// 2) remove dashes and pluses | |
// 3) replace spaces with dashes | |
// 4) remove everything but alphanumeric characters and dashes | |
return value.toLowerCase().replace(/-+/g, '').replace(/\s+/g, '-').replace(/[^a-z0-9-]/g, ''); | |
}; |
function slugify(text) | |
{ | |
return text.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
.replace(/\-\-+/g, '-') // Replace multiple - with single - | |
.replace(/^-+/, '') // Trim - from start of text | |
.replace(/-+$/, ''); // Trim - from end of text | |
} |
modules.export = functtion () { | |
} | |
/** | |
* Path: url of route | |
* Controller: function of router | |
* Rules: for manage acccess to ressource | |
* | |
* Example: addRoute("/admin", adminRouter, checkLoggerAndAsRoles) |
require('crypto').randomBytes(48, function(err, buffer) { var token = buffer.toString('hex'); console.log(token); }); |