Skip to content

Instantly share code, notes, and snippets.

View ahmaazouzi's full-sized avatar

Ahmed ahmaazouzi

View GitHub Profile
@justsml
justsml / fetch-api-examples.md
Last active February 24, 2024 18:05
JavaScript Fetch API Examples
@billy-bacon
billy-bacon / AWSCredentialsFactoryTest.java
Created November 6, 2013 18:22
AWSCredentialsFactoryTest snippet
@After
public void after() {
System.clearProperty("AWS_ACCESS_KEY_ID");
System.clearProperty("AWS_SECRET_KEY");
}
@Test
public void should_get_aws_credentials_in_local_environment() throws Exception {
// setup test
@gandaro
gandaro / hello.S
Created March 3, 2012 15:55
“Hello world” written using AT&T assembly
.data
hello:
.string "Hello world!\n"
.text
.globl _start
_start:
movl $4, %eax # write(1, hello, strlen(hello))
movl $1, %ebx
movl $hello, %ecx