Skip to content

Instantly share code, notes, and snippets.

View sergiorgiraldo's full-sized avatar
😃
42

Sérgio Giraldo sergiorgiraldo

😃
42
View GitHub Profile
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=latex 2015.9.11) 13 SEP 2015 21:45
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**sampleMadoko.tex
(./sampleMadoko.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 2 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
<!-- download from https://raw.github.com/processing-js/processing-js/v1.4.8/processing.min.js -->
<script src="processing.js"></script>
<script type="text/processing" data-processing-target="mycanvas">
void setup()
{
size(200,200);
background(125);
noLoop();
PFont fontA = loadFont("courier");
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Excel tests</title>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#clrBtn").click(function(){
using System;
using System.Collections.Generic;
using Autofac;
using FluentValidation;
using FluentValidation.Results;
namespace ConsoleApplication1
{
internal class Program
{
@echo off
SETLOCAL
SET LEN=7
SET J1=c:\tmp\
SET J2=c:\users\sgiraldo\
SET J3=c:\users\sgiraldo\src\
SET J4=c:\users\sgiraldo\src\berkeley\
SET J5=c:\users\sgiraldo\src\dotnet\

Keybase proof

I hereby claim:

  • I am sergiorgiraldo on github.
  • I am sergiorgiraldo (https://keybase.io/sergiorgiraldo) on keybase.
  • I have a public key ASCQ9Vxy22e555QKOEujSErWsgh7bkJ-88EMvg6IzrDCbAo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 1NHP69DEeuSh23XAUzLquKLXY6AFVKL5Rm https://explorer.blockstack.org/address/1NHP69DEeuSh23XAUzLquKLXY6AFVKL5Rm
import boto3, os
s3 = boto3.resource('s3')
my_bucket = s3.Bucket(name='NAME_OF_BUCKET') #not a path. if path is s3://foo, put _foo_
for object in my_bucket.objects.all():
print(object)
@sergiorgiraldo
sergiorgiraldo / tasks.json
Created November 13, 2019 11:30
tasks.json to build dotnet applications
{
//for this to work, you have to define a workspoace in vscode WITH SAME NAME AS YIOUR CSPROJ FILE
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
@sergiorgiraldo
sergiorgiraldo / semver.txt
Created November 13, 2019 12:16
semver for dotnetrt core in vscode-put in csproj
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
<Deterministic>False</Deterministic>
<Authors>Sérgio Giraldo</Authors>
<Company>sergiorgiraldo</Company>
<Copyright>(c) sergio giraldo - 2019</Copyright>
<Product>shorten</Product>
<VersionPrefix>1.0.0</VersionPrefix>