Skip to content

Instantly share code, notes, and snippets.

@marcowen20
marcowen20 / Octagon.java
Created Oct 23, 2020
UML Class Diagram, Class, Object, Method exercise
View Octagon.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Octagon;
/**
*
* @author Marc Owen Rentap
*/
View DV0101EN-2-2-1-Area-Plots-Histograms-and-Bar-Charts-py-v2.0.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hyunwoodev
hyunwoodev / 시저암호(실패).py
Created Oct 23, 2020
[Programmers] Lv 1. 시저암호 (실패)
View 시저암호(실패).py
def solution(s, n):
answer = []
result = ""
for i in s:
if i == " ":
answer.append(" ")
elif i == "z":
answer.append(96 + n)
elif i == "Z":
answer.append(64 + n)
@jbuckland-veridas
jbuckland-veridas / submit.md
Last active Oct 23, 2020 — forked from tanaikech/submit.md
Upload Files to Google Drive using Javascript
View submit.md

Upload Files to Google Drive using Javascript

News

At October 11, 2019, I published a Javascript library to to run the resumable upload for Google Drive. When this is used, the large file can be uploaded. You can also use this js library.

Description

This is a sample script for uploading files to Google Drive using Javascript. The files are uploaded by Drive API v3. gapi.client.drive.files.create() can create an empty file on Google Drive. But it cannot directly upload files including contents. I think that this might not be able to upload files and metadata with the multipart/related, although this might be resolved by the future update. So now, as one of workarounds, I use using XMLHttpRequest.

  • This sample uses gapi.
    • Before you use this, please enable Drive API at API console and carr
@Trapss
Trapss / BasicClientAuth.md
Created Oct 23, 2020
Basic guide explaining java client authentication.
View BasicClientAuth.md

This is not yet complete

Contents

  • Index
  • Prequestories
  • Basic Concepts
  • Server Setup
  • Authentication Java Utils
  • Obfuscation
  • Contributing
View errorbefore.go
if err := callFunc1; err != nil {
return err
}
if err := callFunc2; err != nil {
return err
}
@BouhamedMohammedMounir
BouhamedMohammedMounir / PythonProjects_.idea_.gitignore
Created Oct 23, 2020
Implemented algorithms of Princeton course in Python.
View PythonProjects_.idea_.gitignore
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
@choco-bot
choco-bot / FilesSnapshot.xml
Created Oct 23, 2020
dart-sdk v2.11.0.213-c-004-beta - Passed - Package Tests Results
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\dart-sdk\chocolateyInstall.ps1" checksum="2A77B4078A9A3CBF5195661910B4CE52" />
<file path="C:\ProgramData\chocolatey\lib\dart-sdk\chocolateyUninstall.ps1" checksum="4C7C4E106DBB5F3681EAF1F5DE4C5D57" />
<file path="C:\ProgramData\chocolatey\lib\dart-sdk\dart-sdk.nupkg" checksum="807CE8D7E882E4AF5C254219BAFEDF95" />
<file path="C:\ProgramData\chocolatey\lib\dart-sdk\dart-sdk.nuspec" checksum="BD9633A133E29091CDCA776BF8077029" />
<file path="C:\ProgramData\chocolatey\lib\dart-sdk\dartsdk-windows-x64-release.zip.txt" checksum="F8BE66B3A05E08ED9EB0608B48EAE9FB" />
</files>
</fileSnapshot>
View sentiment analysis twitter dataset.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:d55ce303eb01085e28c94c915cc2738e
# Really bad, but effective way of doing it
docker rm $(docker container ls -aq)
docker rmi $(docker image ls -aq)
docker volume rm $(docker volume ls -q)
docker rm $(docker container ls -aq) ; docker rmi $(docker image ls -aq) ; docker volume rm $(docker volume ls -q) ; docker rmi $(docker image ls -aq) --force
You can’t perform that action at this time.