Skip to content

Instantly share code, notes, and snippets.

View TheOpenDevProject's full-sized avatar
🤑
Yeeet

Jesse TheOpenDevProject

🤑
Yeeet
View GitHub Profile
Data(postData).done(function () {
$(Dlg).dialog('close');
console.log(Dlg);
console.log("EEE");
}).fail(function (jqXHR, textStatus, errorThrown) {
ExceptionHandler.Create(errorThrown, "Error");
})
namespace My.Application{
public class MySMTPDetails{
public string server {get;set}
public int port {get;set}
}
public class EmailModel{
public string sender {get;set}
public string message {get;set}
use smtp::sender::{Sender,SenderBuilder};
use smtp::email::EmailBuilder;
use smtp::authentication::Mecanism;
pub mod Notifier{
struct SenderDetails{
to: String,
to_alias: String,
from: String,
from_alias: String,
//ES6
var myFunction = function(optionalParam = true){
}
//ES5 FROM REPL
"use strict";
<TheHackOps> I am running Msql on Ubuntu server 15.04 on the Azure cloud platform. The other day I went back to do some work and noticed my PHP app was failing to connect, upon checking the logs the password seemed to have changed which was weird. I then when into the server itself and tried to use the mysql client to login to the server and could not get in as root, access denied
* gigo1980 has quit (Ping timeout: 272 seconds)
<TheHackOps> I decided meh, and rand dpkg-reconfigure mysql
<TheHackOps> I set a new password, then I tried to login with my new password
<TheHackOps> ACCESS DENIED
<TheHackOps> Apart from removing the server I dont know what else to do
<TheHackOps> That was weird
<TheHackOps> Why did i get auto-banned from #feminism
<TheHackOps> "Trans woman exclusionary radical feminists are not welcome." Can someone explain what this means
<TheHackOps> How do I convince men that they're the oppressors?
<DrYucatan> If you don't believe that trans women are women, or that trans women are somehow dangerous to cis women, or talk about 'born male'...you're not welcome here
<TheHackOps> DrYucatan, No I am just not great with wording
<TheHackOps> I was asking for an explanation on what it means
<DrYucatan> That's the explanation
<DrYucatan> what specifically do you need explained
<TheHackOps> That about explained it
function decimalAdjust(type, value, exp) {
// If the exp is undefined or zero...
if (typeof exp === 'undefined' || +exp === 0) {
return Math[type](value);
}
value = +value;
exp = +exp;
// If the value is not a number or the exp is not an integer...
if (isNaN(value) || !(typeof exp === 'number' && exp % 1 === 0)) {
return NaN;
void twitchManager::commandHandler(QString streamInput){
// commandExpression.setPattern("(?<=");
if(streamInput == "PING :tmi.twitch.tv\r\n"){
twitch_socket->write("PONG tmi.twitch.tv\r\n");
twitch_socket->flush();
qDebug() << "Pong Sent";
}
@TheOpenDevProject
TheOpenDevProject / freelance.help
Created November 29, 2015 23:20
Best freelance request ever
hello
im an irania man that i wrote a programme like nero but a area of this programme faced problem . my problem is this that i cant write a function in vb.
this function is very very hard for me.
i wanna a function that write information in cd
and erase cd after writing
trait MyInterface {
fn say_something(&self);
}
impl MyInterface for Hello{
fn say_something(&self) {
println!("Hello World");
}
}