Skip to content

Instantly share code, notes, and snippets.

View the94air's full-sized avatar
🐞
Looking for bugs. Pushing fixes.

Abdalla Arbab the94air

🐞
Looking for bugs. Pushing fixes.
View GitHub Profile
public class Hello
{
   public static void Main()
   {
-      System.Console.WriteLine("Hello, World!");
+      System.Console.WriteLine("Rock all night long!");
   }
}
@the94air
the94air / mutations.js
Created June 27, 2018 17:00 — forked from techlab23/mutations.js
Vuex mutations with add, edit and delete entries
import Vue from 'vue'
import * as types from './mutation-types'
export default {
// Mutation to set entries in state
[types.SET_ENTRIES] (state, entries) {
state.entries = entries || {}
},
// Mutation to add entry in state
@the94air
the94air / app.php
Created February 18, 2018 12:51 — forked from permatis/app.php
Create setting SwiftMailer in Slim Framework.
$app->mailer = function () {
$transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', '465', 'ssl')
->setUsername('[email protected]')
->setPassword('password');
$mailer = Swift_Mailer::newInstance($transport);
return $mailer;
};