As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public - Sep 07, 2020 update docs for
npm version
| package main | |
| //Thanks to http://ecs.victoria.ac.nz/foswiki/pub/Main/TechnicalReportSeries/ECSTR11-01.pdf | |
| import ( | |
| "fmt" | |
| ) | |
| //We will have multiple car parts | |
| type CarPart interface { | |
| Accept(CarPartVisitor) |
| #!/usr/bin/env python2 | |
| """ | |
| Author: takeshix <[email protected]> | |
| PoC code for CVE-2014-0160. Original PoC by Jared Stafford ([email protected]). | |
| Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
| """ | |
| import sys,struct,socket | |
| from argparse import ArgumentParser |
| /* | |
| requires libgit2 | |
| */ | |
| package main | |
| import ( |
| package protocol | |
| import ( | |
| "fmt" | |
| "log" | |
| ) | |
| // pubsub | |
| type Broker struct { | |
| Send map[string]*chan *Message |
| [alias] | |
| random = !"git add -A; git commit -am \"$(echo $(curl -s http://whatthecommit.com/index.txt)\" (http://whatthecommit.com)\")\"; git pull --rebase; git push" |
| class TermsPdf < Prawn::Document | |
| def initialize(application) | |
| super() | |
| @application = application | |
| @listing = @application.listing | |
| @host = @listing.organization | |
| @guest = @application.guest_organization | |
| font "Times-Roman" | |
| default_leading 2 |
| #!/usr/bin/ruby | |
| # README | |
| # gem install aws-sdk | |
| # add this to bashrc | |
| # export HT_DEV_AWS_ACCESS_KEY_ID=???? | |
| # export HT_DEV_AWS_SECRET_ACCESS_KEY=???? | |
| # put your pem file in ~/.ssh and chmod 0400 | |
| # for more info see; https://rubygems.org/gems/aws-sdk |
| #!/usr/bin/env ruby | |
| #encoding: UTF-8 | |
| require_relative 'server2' | |
| class Laink::Client | |
| attr_reader :name | |
| def initialize | |
| @server = nil | |
| @name = "Client #{rand(10000).to_s(36)}" | |
| end |
| ' Copyright (c) 2007, Tony Ivanov | |
| All rights reserved. | |
| Redistribution and use in source and binary forms, with or without | |
| modification, are permitted provided that the following conditions are met: | |
| * Redistributions of source code must retain the above copyright | |
| notice, this list of conditions and the following disclaimer. | |
| * Redistributions in binary form must reproduce the above copyright | |
| notice, this list of conditions and the following disclaimer in the | |
| documentation and/or other materials provided with the distribution. |