Custom text styles for rich text editors load forever

I have created my own custom styles for rich text editors to replace the defaults. I have followed this blog post

Here’s a sample css style

.lzpd-Style-Teaser { -ms-name: "Teaser"; font-family: arial; font-weight: bold; font-size: 14px; color: #000000; 

}

The CSS file is registered using scriptlink on the masterpage:

<SharePoint:ScriptLink id="RTEForDialogs" language="javascript" name="~SiteCollection/Style Library/RTEforDialogs.js" OnDemand="false" LoadAfterUI="true" runat="server" Localizable="false"/> 

Then I register my custom prefix using

ExecuteOrDelayUntilScriptLoaded(rte_dialog_pub, "sp.ui.rte.publishing.js");   function rte_dialog_pub() { $  (".ms-rtestate-write").attr('PrefixStyleSheet', 'lzpd-'); $  (".ms-rtestate-write").attr('AllowParagraphFormatting', 'False'); $  (".ms-rtestate-write").attr('AllowFonts', 'False'); 

}

But when I try to load the page in edit mode, I get a working on it animation in all text style fields. It only stops, when I click on the dropdown button next to them. Then I can use them. I can’t figure out what is blocking the display after page load.

trying to load the styles

Can’t connect to reverse shell – connection waits forever

I’ve setup a simple Kali Linux machine on AWS and added a security group where all ports are open, then I executed:

nc -vlp 4444 

Now, in my own personal computer I execute a simple Go program:

package main  import (     "fmt"     "net" )  const IP = "MY_PUBLIC_IP:4444"  func main() {     conn, _ := net.Dial("tcp", IP)     fmt.Println(conn) } 

Nothing really happens, the connection waits until it timeouts. Am I missing some configuration?

Thank you.

30 Days to Build Your Bigger Email List Forever for $15

Now You Can Generate Massive Profits & Sales With Your Own Responsive Email List! Keep Reading to Discover A Simple 30 Day Plan To A Bigger Email List!The number one thing that nearly every successful online entrepreneur has going for them is that they have an email list. This is a list of subscribers that opted in to receive more information from you, to gain access to free training, or people that bought something from you.At one point or another we have all made our way to an email list. From the largest online retailers to the solopreneurs running a business from their living room, email marketing is still the number one way to engage and follow up with your audience.Social media has definitely changed the game a little bit, but email marketing is here to stay. What has changed is how people access their emails. So, don’t let anyone try to fool you into thinking that email marketing is dead.In fact, some companies, even major ones, credit over 75% of their sales directly to email marketing!If you have an email list and you create a product, have a coaching program, service, physical product, or webinar you want to tell people about; then you just send an email to your list for instant results! No more waiting for your paid ads to get approved or relying on affiliates to mail for you.Paid advertising and affiliates are a tremendous way to get traffic, but having your own email list is even better! That is why over the next 30 days this guide will teach you the same steps used by the experts to build an email list that pays you repeatedly!With 30 days to a bigger list you are well on your way to winning big online, and building that asset you need to help keep your income consistent. There has been one constant in the marketing world, and that is email! You must have an email list if you want to make it!

by: adamalsafi
Created: —
Category: eBook
Viewed: 130


Oracle procedure takes forever to compile if I use public synonym

I have a procedure that queries a table through a DB link. If my procedure uses a public synonym through the DB link, it takes forever to compile.

I’m creating the procedure in Oracle 12c. The DB link is connected to Oracle 18c. The source database was recently upgraded from 12c to 18c. The procedure was fine after the upgrade until I tried to recompile it.

Here are some details about what I’ve observed.

The following insert statement works and inserts W.

CREATE TABLE TEST_DB_LINK_PROC (VAL varchar(1)); INSERT INTO TEST_DB_LINK_PROC select 'W' from MYTABLE@MYDBLINK WHERE ROWNUM < 2; commit; 

The insert in this procedure inserts X. Here I’ve added the schema.

CREATE OR REPLACE PROCEDURE TEST_PROCEDURE_DB_LINK_A is BEGIN     INSERT INTO TEST_DB_LINK_PROC      SELECT 'X' FROM MYSCHEMA.MYTABLE@MYDBLINK      WHERE ROWNUM < 2;     COMMIT; END TEST_PROCEDURE_DB_LINK_A;  EXEC TEST_PROCEDURE_DB_LINK_A; 

But when I try to create the same procedure using the public synonym (like in the original insert statement), the procedure takes forever to compile:

CREATE OR REPLACE PROCEDURE TEST_PROCEDURE_DB_LINK_B is BEGIN INSERT INTO TEST_DB_LINK_PROC SELECT 'Y' FROM MYTABLE@MYDBLINK WHERE ROWNUM < 2; COMMIT; END TEST_PROCEDURE_DB_LINK_B; 

It appears that I can work around this issue by putting the schema in each query. I have a lot of these procedures, so I’m hoping not to do that.

Leads and Traffic Forever Package for $125

Dear friend, When it comes to online marketing… there are millions of ways to do it. But what it all comes down to is three main things: traffic, leads, and sales. This is the primary goal for any online business. When I was new to this online marketing game, this is where I got stuck… hard. The only traffic I knew how to get was from traffic exchanges and safelists. It was free but it wasn’t free: I was paying with my time. I spent hundreds of hours -maybe thousands, surfing through websites. I got a little bit of traffic and made a little bit of money… it wasn’t worth it. Unfortunately, this is where most people are currently at… getting little to no traffic and making no money -even after “investing” into paid traffic and marketing courses and training. Everyone goes through this stage but most people never get out of it and quit. …all because of a lack of traffic and leads. But today all of this changes. Over the past year or so I’ve been working on a marketing strategy that up until recently, was very lucrative. The company I was promoting went bankrupt. And after seeing this happen again and again in this industry… I decided to go into a bigger and much more stable industry -but this is a story for another day. So what’s this gotta do with you? Everything… well, if you are promoting a business opportunity. So here’s what happened over the past 18 months… I was building a list and I was promoting a company with great products… and I made a lot of money. But a few months ago, the company decides to go bankrupt. Unfortunately, this was my only income source and it was taken away overnight. So now I got a huge list… a whole bunch of internet marketing training… and nothing to sell, since I started journey on a different path. Well, instead of just stopping cold turkey… I decided to sell everything I have. This includes my list of 50,000 biz-opp seekers and a whole bunch of training material that includes: marketing strategies, mindset training, making money fast, how to find buyers, traffic generation, content marketing, facebook, niche trends, influencer marketing, free im strategies, wordpress, audio courses, and video courses. For a preview on everything you get, check out the official website at https://onlinebusinessvibes.com/

by: Userx714
Created: —
Category: Traffic
Viewed: 237


Loop with inotifywait should continue forever, but ends prematurely

In /etc/rc.local I have

(while true; do inotifywait -e modify /var/somefile &&  python /var/sendenInotify.py; done) & 

This should keep on running, yet after some time it shuts down. I need to know why.

This is sendenInotify.py:

# -*- coding: utf-8 -*- import os,time import re,sys  filename = '/var/somefile'  with open(filename, 'rb') as fh:   last = fh.readlines()[-1].decode()   a = map(''.join, re.findall(r'\"(.*?)\"|\[(.*?)\]|(\S+)', last))   ...   os.system('echo "test" | mail -r "from <from@from.com>" -s "subject" e@mail.com')   ... 

Ubuntu taking forever to turn off

I have a pretty new installation of Ubuntu 19.04, I have no many things installed and I did very little customization.

I put the OS on a dedicated ssd in my computer.

Problem is Ubuntu is very very slow at shutting down: if I command the shutdown (either from gnome or terminal) it gets stuck on the Ubuntu purple screen for good 10 minutes before turning off. My pc is also very high end, so I really can’t find any explanation for this behavior. Can you help me troubleshoot?