Skip to content

Instantly share code, notes, and snippets.

View sayari_programming.md

Sayari Data Task

Context

Sayari collects public data from around the globe including: corporate registries, civil litigation registries, customs and import/export data, land and real property ownership, official gazettes, and more. This data powers our products and is leveraged for due diligence, risk management, and financial intelligence and compliance.

Task

The Secretary of State of North Dakota provides a business search web app that allows users to search for businesses by name.

@iamsathyaseelan
iamsathyaseelan / add_to_cart_addon_popup_classes.php
Created Aug 21, 2019
Retainful Premium - add to cart email collection (show popup for pages building using page builders)
View add_to_cart_addon_popup_classes.php
/*
* Replace 'add_to_cart_button_classes' values with comma seperated multiple classes
*/
add_filter('retainful_premium_add_to_cart_collection_button_classes',function($classes){
return array('add_to_cart_button_classes' => '.elementor-button-link');
});
@srikant104
srikant104 / PY0101EN-2-3-Sets.ipynb
Created Aug 21, 2019
Created on Cognitive Class Labs
View PY0101EN-2-3-Sets.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@makingthingswork
makingthingswork / change-width-height.php
Created Aug 21, 2019
Change width and height of HTML (string) element
View change-width-height.php
function change_dimensions($string, $width = '600', $height = '450'){
return preg_replace(array('/width="\S+"/i', '/height="\S+"/i'),array(sprintf('width="%s"', $width), sprintf('height="%s"', $height)), $string);
}
@tarunasolanki
tarunasolanki / trace-matrix-2D-array
Created Aug 21, 2019
Program To Find Trace Of Matrix In 2D Array In c++
View trace-matrix-2D-array
#include <iostream>
using namespace std;
int main()
{
int i , j , sum = 0 , a[3][3] ;
cout << "Trace matrix in 2D array " << endl ;
cout << "Enter Array Elements : " << endl ;
// loop for taking inputs in array
@steffen987
steffen987 / PY0101EN-1-1-Types.ipynb
Created Aug 21, 2019
Created on Cognitive Class Labs
View PY0101EN-1-1-Types.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steffen987
steffen987 / PY0101EN-1-1-Types.ipynb
Created Aug 21, 2019
Created on Cognitive Class Labs
View PY0101EN-1-1-Types.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View match.txt
```
🔍 Login to http://adapt-authoring.freeformers.com
BAT_C28_M01 FWM Outro Whats it all about
BAT_C28_M02 FWM Outro checklist
BAT_C28_M03 FWM Outro further reading
BAT_C28_M04 FWM closing reflections
CLI_C01_M01 Template course (3-letter client code _ course number _ Module number)
CLI_C01_M02 template_checklist
CYBG Leadership
CYB_C02_M01 Safe Passwords_What is it about
@JoswaR84
JoswaR84 / Django auth with Active Directory.md
Created Aug 21, 2019
Django auth with Active Directory.md
View Django auth with Active Directory.md

This will require that Windows Server Domain Services Active Directory be setup. In this tutorial LDAP will be accessing the server unsecurely but if an SSL cert is created it can be done securely as well. It is also a good idea to create a custom group to query so that Administrator accounts aren't pulled into the Django Authenication system. Most of the heavely lifting done using the !(etianen/django-python3-ldap)[https://github.com/etianen/django-python3-ldap] app.

  1. Install using pip install django-python3-ldap.
  2. Add 'django_python3_ldap' to your INSTALLED_APPS setting.
  3. Set your AUTHENTICATION_BACKENDS setting to ("django_python3_ldap.auth.LDAPBackend", "django.contrib.auth.backends.ModelBackend",)
  4. Configure the settings for your LDAP server (as described on site).
  5. Optionally, run python manage.py ldap_sync_users to perform an initial sync of LDAP users.
View enotas.json
{ idExterno: 'fSkHv28beT26PktAL',
ambienteEmissao: 'Producao',
enviarPorEmail: false,
servico:
{ descricao: '17 - CONTORNO TOTAL - R$ 47.00 \nSALAO-PARCEIRO: 41.529.660/0001-41 - COTA PARTE: R$ 28.20 \nPROFISSIONAL-PARCEIRO: 21.465.006/0001-04 - COTA-PARTE R$ 18.80 \n\n',
codigoInternoServicoMunicipal: 25010,
issRetidoFonte: false },
valorTotal: 47,
deducoes: 18.8 }
You can’t perform that action at this time.