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
import json | |
import os | |
import requests | |
# You need the bearer token, to get it, go to https://developer.twitter.com/en/portal/projects-and-apps and create an app | |
bearer_token = os.environ['TWITTER_TOKEN'] | |
if __name__ == "__main__": | |
with open('following.js') as file: |
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
--- | |
Language: Cpp | |
BasedOnStyle: WebKit | |
IndentWidth: 4 | |
TabWidth: 4 | |
UseTab: Always | |
SortUsingDeclarations: false | |
SortIncludes: false | |
BreakConstructorInitializers: AfterColon | |
SpaceAfterTemplateKeyword: false |
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
<? | |
echo "salut"; | |
?> |
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 <math.h> | |
#include <ctime> | |
#include <vector> | |
#include <ros/ros.h> | |
#include <sensor_msgs/Imu.h> | |
#include <sensors/compass.h> | |
#include "links/imuros.h" | |
#include "links/imubuff.h" |
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
-module(brainfuck). | |
-export([brainfuck/1]). | |
%% Hello, world: | |
%%brainfuck:brainfuck("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++."). | |
brainfuck(Codes) -> | |
start(string:substr(Codes, 1, 1), 1, Codes, 1, array:new([{size, 3000},{default, 0}])). | |
start([], N, Codes, P, Data) -> |
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
from PIL import Image | |
def pair(a): | |
if a % 2 == 0: | |
return a | |
else: | |
return a-1 | |
def impair(a): | |
if a % 2 != 0: | |
return a |
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
if(!cube_initiation && CubeCenter.size() >= 2){ | |
cubes.push_back(CubeCenter[0]); | |
cubes.push_back(CubeCenter[1]); | |
missing_association.push_back(0); | |
missing_association.push_back(0); | |
cube_initiation = true; | |
} | |
else if(cube_initiation ){ | |
for(int index = 0; index < 2; index++){ | |
ROS_INFO("No seg"); |
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
In file included from /usr/include/eigen3/Eigen/Core:277:0, | |
from /usr/include/eigen3/Eigen/Dense:1, | |
from /home/philippe/devRosWs/src/mutualCameraLocalization/include/mutualCameraLocalization/mutual_camera_localization_node.h:26, | |
from /home/philippe/devRosWs/src/mutualCameraLocalization/src/mutual_camera_localization_node.cpp:17: | |
/usr/include/eigen3/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >’: | |
/usr/include/eigen3/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >’ | |
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:65:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >’ | |
/usr/include/eigen3/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<float, 4, 1>’ | |
/usr/include/eigen3/Eigen/src/Geometry/Quaternion.h:287:16: required from ‘class Eigen::Quaternion<float>’ | |
/usr/include/eigen3/Eigen/src/Geometry/arch/Geo |
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
;Philippe Babin PHBAB1 - Mathieu Cloutier MACLO245 | |
NAME main | |
PUBLIC __iar_program_start | |
SECTION .intvec : CODE (2) | |
CODE32 | |
__iar_program_start | |
B main ; |
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
;Philippe Turgeon | |
;Émile Lévesque | |
NAME main | |
PUBLIC __iar_program_start | |
SECTION .intvec : CODE (2) | |
CODE32 |
NewerOlder