This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Reuniware on 29/06/2020. | |
// | |
#include <jni.h> | |
#include <string> | |
#include <oboe/Oboe.h> | |
#include "OboeAudioRecorder.h" | |
#include "oboe/samples/debug-utils/logging_macros.h" | |
class OboeAudioRecorder: public oboe::AudioStreamCallback { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <jni.h> | |
#include <string> | |
#include <oboe/Oboe.h> | |
#include "OboeAudioRecorder.h" | |
#include "oboe/samples/debug-utils/logging_macros.h" | |
class OboeAudioRecorder: public oboe::AudioStreamCallback { | |
private: | |
oboe::ManagedStream outStream; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using Xamarin.Forms; | |
namespace XamarinFormsTest01 | |
{ | |
public class ItemCountViewModel : INotifyPropertyChanged | |
{ | |
private static ItemCountViewModel instance = new ItemCountViewModel(); | |
public static ItemCountViewModel GetInstance() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d" | |
x:Class="XamarinFormsTest01.MainPage"> | |
<StackLayout> | |
<!-- Place new controls here --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private string ConsumerKey = "lEmrWQ24XXXXXXXXXXDOGMFTT"; | |
private string ConsumerSecret = "0soZwdgLq2s0AXXXXXXXXXXXXXXXXXXXXrN8UDq8zZbftLGPY0"; | |
private void button1_Click(object sender, EventArgs e) | |
{ | |
string strBearerRequest = HttpUtility.UrlEncode(this.ConsumerKey) + ":" + HttpUtility.UrlEncode(this.ConsumerSecret); | |
strBearerRequest = System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(strBearerRequest)); | |
HttpWebRequest req = WebRequest.Create("https://api.twitter.com/oauth2/token") as HttpWebRequest; | |
req.Method = "POST"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.VisualBasic; | |
using Microsoft.VisualBasic.Devices; | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.IO; | |
using System.Linq; | |
using System.Text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.VisualBasic; | |
using Microsoft.VisualBasic.Devices; | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.IO; | |
using System.Linq; | |
using System.Text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~"); | |
foreach (string str in configuration.AppSettings.Settings.AllKeys) | |
{ | |
var value = configuration.AppSettings.Settings[str].Value; | |
_logger.LogError(str + " => " + value); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Largely inspired by sourcecode at : https://github.com/akoscz/YouTubePlaylist/blob/master/app/src/main/java/com/akoscz/youtube/GetPlaylistAsyncTask.java | |
package com.reuniware.humoristesfr | |
import android.os.Bundle | |
import android.os.StrictMode | |
import android.text.TextUtils | |
import android.widget.Toast | |
import androidx.appcompat.app.AppCompatActivity | |
import com.google.api.client.extensions.android.http.AndroidHttp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en-en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1" name="viewport"> | |
<title>SECURITY WARNING</title> | |
<link href="./images/favicon.ico" rel="shortcut icon"> |